summaryrefslogtreecommitdiff
path: root/lang/pgcc/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
commite244b8bcccf929bfb91b2bc9027c62bc28d342ad (patch)
treeca87e050de03316d0e07487ad68cd159a62ba2e8 /lang/pgcc/Makefile
parent(1) Change FETCH_CMD to add the -A flag, so it won't be confused by the (diff)
Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined. Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; define it as an empty string if the port doesn't like it at all. The last might be a sign that a GNU_CONFIGURE port actually doesn't use GNU's version of configure at all; but I don't have time to go look at them all, we'll fix them as time goes on. At least we've got much fewer "-unknown-"s in the tree as the result. :)
Notes
Notes: svn path=/head/; revision=17053
Diffstat (limited to 'lang/pgcc/Makefile')
-rw-r--r--lang/pgcc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile
index 811f850d85e6..7afcc459632b 100644
--- a/lang/pgcc/Makefile
+++ b/lang/pgcc/Makefile
@@ -4,7 +4,7 @@
# Date created: 10 Dec 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
-# $Id: Makefile,v 1.13 1998/12/14 12:07:48 obrien Exp $
+# $Id: Makefile,v 1.14 1999/02/03 11:11:52 asami Exp $
#
DISTNAME= egcs-1.1.1
@@ -46,8 +46,9 @@ PATCH_DIST_STRIP?= -p1
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
+CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld \
--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/include/g++
+CONFIGURE_TARGET= ${GNUHOST}
ALL_TARGET= bootstrap
MAN1= cccp.1 g++.1 g77.1 gcc.1