aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc43
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc43')
-rw-r--r--lang/gcc43/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile
index 16480d6ef203..a5ef5b627d39 100644
--- a/lang/gcc43/Makefile
+++ b/lang/gcc43/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>