aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc40/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-03-26 05:16:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-03-26 05:16:44 +0000
commit989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f (patch)
treef7229687d1ac14f35036636d27ba0e6a42ec297c /lang/gcc40/Makefile
parentc7ad79395c28c22b8161a13abfd6d1e20475cc0f (diff)
downloadports-989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f.tar.gz
ports-989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f.zip
Notes
Diffstat (limited to 'lang/gcc40/Makefile')
-rw-r--r--lang/gcc40/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 255548c09489..99fad93b31d2 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -57,6 +57,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
+SUB_LIST= TARGLIB="${TARGLIB}"
+SUB_FILES= gcc.sh
+RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@@ -90,6 +93,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \