summaryrefslogtreecommitdiff
path: root/lang/gcc28
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-08-07 22:49:31 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-08-07 22:49:31 +0000
commit48887e4ba86a51d4e24b458d7f06bfa3ae75c6cb (patch)
tree280707e74f830bfd20743509d70fc602de263601 /lang/gcc28
parentMove "etlfonts freefonts getbdf sharefonts tkfont xfed xmbdfed" from (diff)
Make these ports (TenDRA, egcs, gcc28, glibstdc++28 and guavac, all
under lang) use ${OSREL} as defined in bsd.port.mk rev 1.281 and 1.227.2.43. Note gcc28 is hopelessly broken, it uses an undefined variable ${GNUOSREL} and thus has an empty string wherever ${OSREL} should be. However, it's consistent with its own PLIST at the current state so I haven't "fixed" it yet.
Notes
Notes: svn path=/head/; revision=12329
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index 313da1a79294..b291227c906e 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.10 1998/06/10 20:16:08 asami Exp $
+# $Id: Makefile,v 1.11 1998/06/30 21:10:21 jdp Exp $
#
DISTNAME= gcc-2.8.1
@@ -13,10 +13,8 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= obrien@FreeBSD.org
-GNUOSREL!= uname -r | sed -e 's/[-(].*//'
-
PLIST= ${WRKDIR}/PLIST.fixedup
-GNUHOST= i386-unknown-freebsd${GNUOSREL}
+GNUHOST= i386-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/include/g++
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -24,7 +22,7 @@ ALL_TARGET= bootstrap
MAN1= cccp28.1 g++28.1 gcc28.1
pre-fetch:
- @${ECHO} "GCC ${DISTNAME:S/^gcc-//} for ${OSNAME} ${GNUOSREL}"
+ @${ECHO} "GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL}"
post-patch:
@(cd ${WRKSRC}/config/i386/ ; \