aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc34/Makefile
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/gcc34/Makefile
parent9554bec5c6b15c6eac868118e27ae5e3965efffe (diff)
downloadports-7ee43cf06d5159ae689779c121d8fe086fcf941f.tar.gz
ports-7ee43cf06d5159ae689779c121d8fe086fcf941f.zip
Notes
Diffstat (limited to 'lang/gcc34/Makefile')
-rw-r--r--lang/gcc34/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 16480d6ef203..a5ef5b627d39 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/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>