From 2099f3066bb7bb833a05e2a71ef1cdd7d2c3a101 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 24 Jun 2006 09:41:34 +0000 Subject: - take benefit of USE_LDCONFIG --- lang/gcc32/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lang/gcc32') diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile index b93cbd700b2a..651ac8754e9c 100644 --- a/lang/gcc32/Makefile +++ b/lang/gcc32/Makefile @@ -64,13 +64,9 @@ CONFIGURE_ARGS+= --with-system-zlib --includedir=${TARGLIB}/include/Java CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" .if defined(WANT_SHAREDLIBS) CONFIGURE_ARGS+= --enable-shared -INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB} EXTRA_SHLIB= libgcc_s -SUB_LIST= TARGLIB="${TARGLIB}" -SUB_FILES= gcc.sh -RC_D_SH= etc/rc.d/gcc32.sh -PLIST_FILES+= ${RC_D_SH} +USE_LDCONFIG= ${TARGLIB} .else CONFIGURE_ARGS+= --disable-shared .endif @@ -99,6 +95,7 @@ pre-install: .endif post-install: + -@${MKDIR} ${PREFIX}/libdata/ldconfig @${RM} -f ${PREFIX}/bin/c++ ${PREFIX}/bin/${CONFIGURE_TARGET}-c++ @${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt @(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \ -- cgit