summaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-13 07:34:57 +0000
committerobrien <obrien@FreeBSD.org>1998-11-13 07:34:57 +0000
commitb3fd7c1f4b632c3640ba542c5dad69eec8693e9a (patch)
tree0d0e6283583c2d46bf55459126167959235d498b /lang/gcc47
parented113a13d5c3c359f7ac066c002484f16ae5d2b5 (diff)
downloadFreeBSD-ports-b3fd7c1f4b632c3640ba542c5dad69eec8693e9a.zip
FreeBSD-ports-b3fd7c1f4b632c3640ba542c5dad69eec8693e9a.tar.gz
switch to new pre/post bsd.port.mk
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 16480d6..a5ef5b6 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/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>
OpenPOWER on IntegriCloud