aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc-devel
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-27 04:10:02 +0800
committerobrien <obrien@FreeBSD.org>1998-12-27 04:10:02 +0800
commit6f19ebdc3bf2df2e19ac753f271bb75678b00cad (patch)
tree51c2ac415b82de93ee301b638941fe64508271fb /lang/gcc-devel
parenteb94c28c0020f4d88643683e416526738831d4c7 (diff)
downloadfreebsd-ports-gnome-6f19ebdc3bf2df2e19ac753f271bb75678b00cad.tar.gz
freebsd-ports-gnome-6f19ebdc3bf2df2e19ac753f271bb75678b00cad.tar.zst
freebsd-ports-gnome-6f19ebdc3bf2df2e19ac753f271bb75678b00cad.zip
Wasn't in the main dir when I commited this the first time.
Noticed by: jdp
Diffstat (limited to 'lang/gcc-devel')
-rw-r--r--lang/gcc-devel/Makefile6
-rw-r--r--lang/gcc-devel/pkg-plist6
2 files changed, 10 insertions, 2 deletions
diff --git a/lang/gcc-devel/Makefile b/lang/gcc-devel/Makefile
index 0c1e150961ca..55bc9f05da91 100644
--- a/lang/gcc-devel/Makefile
+++ b/lang/gcc-devel/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
diff --git a/lang/gcc-devel/pkg-plist b/lang/gcc-devel/pkg-plist
index 2844d5ff1a0e..85e5aea5a688 100644
--- a/lang/gcc-devel/pkg-plist
+++ b/lang/gcc-devel/pkg-plist
@@ -1,4 +1,4 @@
-@comment $Id: PLIST,v 1.19 1998/09/26 18:17:13 obrien Exp $
+@comment $Id: PLIST,v 1.20 1998/12/02 09:41:28 obrien Exp $
bin/g++filt
bin/g++
bin/eg++
@@ -217,6 +217,10 @@ lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/cc1obj
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/cc1plus
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/cpp
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/collect2
+@comment ELF-only:lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/crtbegin.o
+@comment ELF-only:lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/crtbeginS.o
+@comment ELF-only:lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/crtend.o
+@comment ELF-only:lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/crtendS.o
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/f771
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/README
lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/assert.h