diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-03-26 05:16:44 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-03-26 05:16:44 +0000 |
commit | 989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f (patch) | |
tree | f7229687d1ac14f35036636d27ba0e6a42ec297c /lang/gcc45 | |
parent | c7ad79395c28c22b8161a13abfd6d1e20475cc0f (diff) | |
download | ports-989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f.tar.gz ports-989fbabdf9d4ec35e4aea8e8e667c2ecef19e90f.zip |
Notes
Diffstat (limited to 'lang/gcc45')
-rw-r--r-- | lang/gcc45/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc45/files/gcc.sh.in | 14 | ||||
-rw-r--r-- | lang/gcc45/pkg-plist | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index f8cfb0e9a587..b77324cd4827 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split" ALL_TARGET= bootstrap 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 \ @@ -149,6 +152,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 \ diff --git a/lang/gcc45/files/gcc.sh.in b/lang/gcc45/files/gcc.sh.in new file mode 100644 index 000000000000..987e9531e371 --- /dev/null +++ b/lang/gcc45/files/gcc.sh.in @@ -0,0 +1,14 @@ +#!/bin/sh + +case "$1" in +start) + ldconfig -m %%TARGLIB%% + ;; +stop) + ;; +*) + echo "Usage: ${0##*/} { start | stop }" >&2 + exit 64 + ;; +esac +exit 0 diff --git a/lang/gcc45/pkg-plist b/lang/gcc45/pkg-plist index c354ad32d65c..f79172c39695 100644 --- a/lang/gcc45/pkg-plist +++ b/lang/gcc45/pkg-plist @@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%% bin/%%GNU_HOST%%-g++%%SUFFIX%% bin/%%GNU_HOST%%-gcc-%%GCC_VER%% bin/%%GNU_HOST%%-gcc%%SUFFIX%% +etc/rc.d/gcc%%SUFFIX%%.sh include/omp.h info/gcc%%SUFFIX%%/dir %%FORTRAN%%bin/gfortran%%SUFFIX%% |