diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-06-24 17:41:34 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-06-24 17:41:34 +0800 |
commit | 2099f3066bb7bb833a05e2a71ef1cdd7d2c3a101 (patch) | |
tree | 84db2590f97c4aff969e423d3e80325dd0bfceeb /lang/gcc32 | |
parent | adfd557ae27d1e926ad77c642caae5b5be551f48 (diff) | |
download | freebsd-ports-gnome-2099f3066bb7bb833a05e2a71ef1cdd7d2c3a101.tar.gz freebsd-ports-gnome-2099f3066bb7bb833a05e2a71ef1cdd7d2c3a101.tar.zst freebsd-ports-gnome-2099f3066bb7bb833a05e2a71ef1cdd7d2c3a101.zip |
- take benefit of USE_LDCONFIG
Diffstat (limited to 'lang/gcc32')
-rw-r--r-- | lang/gcc32/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
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++ \ |