diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-11-25 11:01:13 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-11-25 11:01:13 +0000 |
commit | a6ec49ec4c6d36385b408992b26f488a80d2ecde (patch) | |
tree | 8e02a8882cdfb77d79ea39208ad93347ce8139b4 /emulators/suse_devel/Makefile | |
parent | 033024efde0d41d896b23d3d337bedd2b8229afd (diff) | |
download | pkgsrc-a6ec49ec4c6d36385b408992b26f488a80d2ecde.tar.gz |
Tweak suse_* packages to support NetBSD/powerpc.
Diffstat (limited to 'emulators/suse_devel/Makefile')
-rw-r--r-- | emulators/suse_devel/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/emulators/suse_devel/Makefile b/emulators/suse_devel/Makefile index 872bbd37292..76595a116f2 100644 --- a/emulators/suse_devel/Makefile +++ b/emulators/suse_devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2002/10/09 07:14:24 grant Exp $ +# $NetBSD: Makefile,v 1.15 2002/11/25 11:01:14 schmonz Exp $ DISTNAME= suse_devel-${SUSE_VERSION} CATEGORIES= emulators @@ -15,13 +15,22 @@ COMMENT= Linux compatibility package - development tools DEPENDS+= suse_base>=${SUSE_VERSION}:../suse_base -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc EXTRACT_ONLY= # empty NO_BUILD= YES PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC -RPMFILES= bin86.rpm binutils.rpm cpp.rpm g77.rpm gcc.rpm \ - glibc-devel-2.2.4-77.i386.rpm gpp.rpm make.rpm +RPMFILES= binutils.rpm cpp.rpm g77.rpm gcc.rpm gpp.rpm make.rpm + +.include "../suse_linux/arch.mk" + +.if ${SUSE_ARCH} == "i386" +RPMFILES+= glibc-devel-2.2.4-77.${SUSE_ARCH}.rpm bin86.rpm +.elif ${SUSE_ARCH} == "ppc" +RPMFILES+= glibc-devel-2.2.4-66.${SUSE_ARCH}.rpm +.else +RPMFILES+= glibc.rpm +.endif .include "../suse_linux/Makefile.common" |