summaryrefslogtreecommitdiffstats
path: root/lang/gcc28
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-03-31 10:42:21 +0000
committerobrien <obrien@FreeBSD.org>1999-03-31 10:42:21 +0000
commit200c9327657161ee3239ebb5f710d626aefd02cc (patch)
treeccbe42d31a5cd9aaba49e1df915a7b4aff7be67e /lang/gcc28
parentcc205fe123ca3ee347e5e8cda6abbb66e419c206 (diff)
downloadFreeBSD-ports-200c9327657161ee3239ebb5f710d626aefd02cc.zip
FreeBSD-ports-200c9327657161ee3239ebb5f710d626aefd02cc.tar.gz
Switch over fully to "CONFIGURE_TARGET" and specify a unique one so I can
tell if people built Gcc28 from the ports collection in a normal manner when I get bug reports.
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index a1e4362..ca07a15 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
OpenPOWER on IntegriCloud