summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2001-03-29 15:24:59 +0000
committerjlam <jlam>2001-03-29 15:24:59 +0000
commitaf1862b7fe557f36b398924c6395532618659f4f (patch)
treecf5ba202cba4a783a6e91819c5f8e5a81cf8f32e /lang
parentca06e17e40b65d4cde94cbee370759d9aab6dbd2 (diff)
downloadpkgsrc-af1862b7fe557f36b398924c6395532618659f4f.tar.gz
Add missing files for NetBSD/sparc to a ${MACHINE_PLATFORM}-specific
PLIST for pgcc. PGCC should now list all the files needed on NetBSD/sparc. This matches a similarly motivated change in gcc/Makefile, but done differently.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/pkg/PLIST.NetBSD-sparc5
-rw-r--r--lang/pgcc/Makefile6
2 files changed, 10 insertions, 1 deletions
diff --git a/lang/gcc/pkg/PLIST.NetBSD-sparc b/lang/gcc/pkg/PLIST.NetBSD-sparc
new file mode 100644
index 00000000000..9887f3188ed
--- /dev/null
+++ b/lang/gcc/pkg/PLIST.NetBSD-sparc
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.NetBSD-sparc,v 1.1 2001/03/29 15:24:59 jlam Exp $
+${PKGNAME}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/crtbegin.o
+${PKGNAME}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/crtbeginS.o
+${PKGNAME}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/crtend.o
+${PKGNAME}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/crtendS.o
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile
index 1a5b963c0f5..1f4ce8bb19b 100644
--- a/lang/pgcc/Makefile
+++ b/lang/pgcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/03/27 03:20:03 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 2001/03/29 15:25:00 jlam Exp $
DISTNAME= gcc-2.95.2
PKGNAME= pgcc-2.95.2.1
@@ -58,6 +58,10 @@ WRKSRC= ${WRKDIR}/objdir
.if (${OPSYS} != SunOS)
CONFIGURE_ARGS+= --with-gnu-as --with-gnu-ld
GCC_PREFIX= ${LOCALBASE}/${PKGNAME}
+.if ${MACHINE_PLATFORM:MNetBSD-*-sparc}
+PLIST_SRC= ${PKGDIR}/PLIST
+PLIST_SRC+= ${PKGDIR}/PLIST.NetBSD-sparc
+.endif
.else
.if (${CC} != gcc)
ALL_TARGET= bootstrap