aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc32/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-13 15:34:57 +0800
committerobrien <obrien@FreeBSD.org>1998-11-13 15:34:57 +0800
commitb3fd7c1f4b632c3640ba542c5dad69eec8693e9a (patch)
tree0d0e6283583c2d46bf55459126167959235d498b /lang/gcc32/Makefile
parented113a13d5c3c359f7ac066c002484f16ae5d2b5 (diff)
downloadfreebsd-ports-gnome-b3fd7c1f4b632c3640ba542c5dad69eec8693e9a.tar.gz
freebsd-ports-gnome-b3fd7c1f4b632c3640ba542c5dad69eec8693e9a.tar.zst
freebsd-ports-gnome-b3fd7c1f4b632c3640ba542c5dad69eec8693e9a.zip
switch to new pre/post bsd.port.mk
Diffstat (limited to 'lang/gcc32/Makefile')
-rw-r--r--lang/gcc32/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index 16480d6ef203..a5ef5b627d39 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/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>