summaryrefslogtreecommitdiff
path: root/lang/gcc31/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-26 20:10:02 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-26 20:10:02 +0000
commit8ce8f1b8972bfb9ce5806870f146f4b4bff4fd92 (patch)
tree1bec690c24259d3a64c486498023ce0978961044 /lang/gcc31/Makefile
parentBROKEN='single fetch site, which is currently behind a routing loop' (diff)
Wasn't in the main dir when I commited this the first time.
Noticed by: jdp
Notes
Notes: svn path=/head/; revision=15639
Diffstat (limited to 'lang/gcc31/Makefile')
-rw-r--r--lang/gcc31/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile
index 0c1e150961ca..55bc9f05da91 100644
--- a/lang/gcc31/Makefile
+++ b/lang/gcc31/Makefile
@@ -4,7 +4,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.40 1998/12/05 03:40:17 obrien Exp $
+# $Id: Makefile,v 1.41 1998/12/05 04:00:40 obrien Exp $
#
DISTNAME= egcs-1.1.1
@@ -29,6 +29,7 @@ EGCS_REV= egcs-2.91.60
LIBSTDCPP_REV= 2.9.0
.if ${PORTOBJFORMAT} == "elf"
+PLIST= ${WRKDIR}/PLIST
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
GNUHOST= ${ARCH}-unknown-freebsdelf
.else
@@ -51,6 +52,9 @@ pre-configure:
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \
${MV} freebsd-elf.h freebsd-elf.h.in ; \
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
+.if ${PORTOBJFORMAT} == "elf"
+ @${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
+.endif
pre-install:
${MKDIR} ${PREFIX}/info