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_linux | |
parent | 033024efde0d41d896b23d3d337bedd2b8229afd (diff) | |
download | pkgsrc-a6ec49ec4c6d36385b408992b26f488a80d2ecde.tar.gz |
Tweak suse_* packages to support NetBSD/powerpc.
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r-- | emulators/suse_linux/Makefile | 10 | ||||
-rw-r--r-- | emulators/suse_linux/Makefile.application | 4 | ||||
-rw-r--r-- | emulators/suse_linux/Makefile.common | 12 | ||||
-rw-r--r-- | emulators/suse_linux/arch.mk | 14 |
4 files changed, 30 insertions, 10 deletions
diff --git a/emulators/suse_linux/Makefile b/emulators/suse_linux/Makefile index 4c9a2f0a2de..3bce87db98e 100644 --- a/emulators/suse_linux/Makefile +++ b/emulators/suse_linux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/04/04 09:47:07 tron Exp $ +# $NetBSD: Makefile,v 1.20 2002/11/25 11:01:16 schmonz Exp $ DISTNAME= suse_linux-7.3 CATEGORIES= emulators @@ -10,14 +10,18 @@ HOMEPAGE= http://www.suse.com/ COMMENT= Linux compatibility package collection DEPENDS+= suse_audio>=7.3:../suse_audio -DEPENDS+= suse_libc5>=7.3:../suse_libc5 DEPENDS+= suse_libjpeg>=7.3:../suse_libjpeg DEPENDS+= suse_libpng>=7.3:../suse_libpng DEPENDS+= suse_glx>=7.3:../suse_glx DEPENDS+= suse_gtk>=7.3:../suse_gtk DEPENDS+= suse_xforms>=7.3:../suse_xforms -ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386 +.include "arch.mk" +.if ${SUSE_ARCH} == i386 +DEPENDS+= suse_libc5>=7.3:../suse_libc5 +.endif + +ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386 NetBSD-*-powerpc EXTRACT_ONLY= # empty NO_BUILD= YES diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application index 0ed1fe5045a..d9164db447b 100644 --- a/emulators/suse_linux/Makefile.application +++ b/emulators/suse_linux/Makefile.application @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.application,v 1.4 2002/04/09 01:29:25 dmcmahill Exp $ +# $NetBSD: Makefile.application,v 1.5 2002/11/25 11:01:16 schmonz Exp $ .include "../../mk/bsd.prefs.mk" -.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == i386) +.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == powerpc) LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1 .if (${LINUX_KERNEL_OSRELEASE} == 2.0.38) diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common index 54533e5bda1..23b16ad3865 100644 --- a/emulators/suse_linux/Makefile.common +++ b/emulators/suse_linux/Makefile.common @@ -1,14 +1,16 @@ -# $NetBSD: Makefile.common,v 1.11 2002/08/11 01:00:59 hubertf Exp $ +# $NetBSD: Makefile.common,v 1.12 2002/11/25 11:01:16 schmonz Exp $ SUSE_VERSION= 7.3 -MASTER_SITE_SUSE?= ftp://ftp.suse.com/pub/suse/i386/${SUSE_VERSION}/suse/ \ - ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/${SUSE_VERSION}/suse/ \ - ftp://gd.tuwien.ac.at/linux/suse.com/suse/i386/${SUSE_VERSION}/suse/ +.include "arch.mk" + +MASTER_SITE_SUSE?= ftp://ftp.suse.com/pub/suse/${SUSE_ARCH}/${SUSE_VERSION}/suse/ \ + ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH}/${SUSE_VERSION}/suse/ \ + ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH}/${SUSE_VERSION}/suse/ MASTER_SITE_SUSE_UPD= ${MASTER_SITE_SUSE:S/${SUSE_VERSION}\/suse/update\/${SUSE_VERSION}/} -DIST_SUBDIR?= suse${SUSE_VERSION:S/.//} +DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}/${SUSE_ARCH} WRKSRC?= ${WRKDIR} MANCOMPRESSED?= yes diff --git a/emulators/suse_linux/arch.mk b/emulators/suse_linux/arch.mk new file mode 100644 index 00000000000..a995738943f --- /dev/null +++ b/emulators/suse_linux/arch.mk @@ -0,0 +1,14 @@ +# $NetBSD: arch.mk,v 1.1 2002/11/25 11:01:16 schmonz Exp $ + +.ifndef SUSE_ARCH_MK +SUSE_ARCH_MK=1 + +.include "../../mk/bsd.prefs.mk" + +.if ${MACHINE_ARCH} == "powerpc" +SUSE_ARCH?= ppc +.else +SUSE_ARCH?= ${MACHINE_ARCH} +.endif + +.endif # SUSE_ARCH_MK |