diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-03-31 10:42:21 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-03-31 10:42:21 +0000 |
commit | 5c50c0063f2a67ba1e5f212eef5d8a0e24dd5d41 (patch) | |
tree | c0acae20063ab7596eaef60cec7ca3f038f5036c /lang/gcc28 | |
parent | 2eea491e74f242a400abc771dc4b339bc749e8e0 (diff) | |
download | ports-5c50c0063f2a67ba1e5f212eef5d8a0e24dd5d41.tar.gz ports-5c50c0063f2a67ba1e5f212eef5d8a0e24dd5d41.zip |
Notes
Diffstat (limited to 'lang/gcc28')
-rw-r--r-- | lang/gcc28/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile index a1e4362b189d..ca07a15a2330 100644 --- a/lang/gcc28/Makefile +++ b/lang/gcc28/Makefile @@ -4,7 +4,7 @@ # Date created: 17 Jan 1998 # Whom: David O'Brien <obrien@NUXI.com> # -# $Id: Makefile,v 1.21 1999/02/09 18:25:42 obrien Exp $ +# $Id: Makefile,v 1.22 1999/03/08 07:28:29 asami Exp $ # DISTNAME= gcc-2.8.1 @@ -17,18 +17,14 @@ MAINTAINER= obrien@FreeBSD.org .include <bsd.port.pre.mk> .if ${PORTOBJFORMAT} == "elf" -GNUHOST= ${ARCH}-unknown-freebsd${OSREL} +CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .else -GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL} +CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL} .endif -PLIST_SUB= GNUHOST=${GNUHOST} -CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/include/g++ -.if ${PORTOBJFORMAT} == "elf" -CONFIGURE_ARGS+= --host=${GNUHOST} -.endif +PLIST_SUB= GNUHOST=${CONFIGURE_TARGET} +CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/g++ GNU_CONFIGURE= yes -CONFIGURE_TARGET= # empty USE_GMAKE= yes ALL_TARGET= bootstrap MAN1= cccp28.1 g++28.1 gcc28.1 @@ -58,11 +54,11 @@ post-install: @${RM} -f ${PREFIX}/bin/c++ (for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ ${PREFIX}/bin/gcov \ ${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \ - ${PREFIX}/bin/${GNUHOST}-gcc \ - ${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/cc1 \ - ${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/cc1obj \ - ${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/cc1plus \ - ${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/cpp ; \ + ${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \ + ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/cc1 \ + ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/cc1obj \ + ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/cc1plus \ + ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/cpp ; \ do strip $$prog ; \ done) ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc28 |