summaryrefslogtreecommitdiff
path: root/lang/gcc30
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-11-13 07:34:57 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-11-13 07:34:57 +0000
commit7ee43cf06d5159ae689779c121d8fe086fcf941f (patch)
tree7666395bc182f19e3b622cfa718b3a2f983d1473 /lang/gcc30
parenti386 => ${ARCH} (diff)
switch to new pre/post bsd.port.mk
Notes
Notes: svn path=/head/; revision=14493
Diffstat (limited to 'lang/gcc30')
-rw-r--r--lang/gcc30/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile
index 16480d6ef203..a5ef5b627d39 100644
--- a/lang/gcc30/Makefile
+++ b/lang/gcc30/Makefile
@@ -4,7 +4,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.35 1998/10/01 21:40:03 obrien Exp $
+# $Id: Makefile,v 1.36 1998/11/13 07:32:21 obrien Exp $
#
DISTNAME= egcs-19980914
@@ -16,14 +16,17 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \
MAINTAINER= obrien@FreeBSD.org
+.include <bsd.port.pre.mk>
+
EGCS_REV= egcs-2.92.07
LIBSTDCPP_REV= 2.9.0
-ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
-.if ${ARE_WE_ELF} == "elf"
+
+.if ${PORTOBJFORMAT} == "elf"
GNUHOST= ${ARCH}-unknown-freebsdelf
.else
GNUHOST= ${ARCH}-unknown-freebsd
.endif
+
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -72,4 +75,4 @@ post-install:
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>