diff options
author | jschauma <jschauma> | 2002-09-03 21:44:08 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2002-09-03 21:44:08 +0000 |
commit | e2adf6d3cbdab37e52a696a5398d0348c4c8c783 (patch) | |
tree | a76dca2e6a05487afce2f5db350599ef314f63ef /lang | |
parent | 51d2889a9d92e2b2ea8e45f6075b0481f757dca5 (diff) | |
download | pkgsrc-e2adf6d3cbdab37e52a696a5398d0348c4c8c783.tar.gz |
Some changes to make this work well on Linux:
- For this package i[3-6]86 can be set equal with i386, allowing us to specify
the download site using MACHINE_ARCH.
- Enable for platform Linux-*-i[3-6]86
- Don't display MESSAGE about requiring COMPAT_LINUX when on linux:
=> move MESSAGE to MESSAGE.NetBSD
Diffstat (limited to 'lang')
-rw-r--r-- | lang/blackdown-jdk13/MESSAGE.NetBSD (renamed from lang/blackdown-jdk13/MESSAGE) | 2 | ||||
-rw-r--r-- | lang/blackdown-jre13/MESSAGE.NetBSD (renamed from lang/blackdown-jre13/MESSAGE) | 2 | ||||
-rw-r--r-- | lang/blackdown-jre13/Makefile.common | 13 |
3 files changed, 13 insertions, 4 deletions
diff --git a/lang/blackdown-jdk13/MESSAGE b/lang/blackdown-jdk13/MESSAGE.NetBSD index 0c5b6674f1e..07c173b3272 100644 --- a/lang/blackdown-jdk13/MESSAGE +++ b/lang/blackdown-jdk13/MESSAGE.NetBSD @@ -1,5 +1,5 @@ ============================================================================== -$NetBSD: MESSAGE,v 1.2 2002/07/27 22:45:08 jschauma Exp $ +$NetBSD: MESSAGE.NetBSD,v 1.1 2002/09/03 21:44:09 jschauma Exp $ The Blackdown JDK requires COMPAT_LINUX in your kernel. diff --git a/lang/blackdown-jre13/MESSAGE b/lang/blackdown-jre13/MESSAGE.NetBSD index 59e150c9f2c..a2af3ea7b0c 100644 --- a/lang/blackdown-jre13/MESSAGE +++ b/lang/blackdown-jre13/MESSAGE.NetBSD @@ -1,5 +1,5 @@ ============================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2002/07/27 22:39:50 jschauma Exp $ +$NetBSD: MESSAGE.NetBSD,v 1.1 2002/09/03 21:44:11 jschauma Exp $ The Blackdown JRE requires COMPAT_LINUX in your kernel. diff --git a/lang/blackdown-jre13/Makefile.common b/lang/blackdown-jre13/Makefile.common index 2b43fd327bb..4aafb97a3b8 100644 --- a/lang/blackdown-jre13/Makefile.common +++ b/lang/blackdown-jre13/Makefile.common @@ -1,10 +1,15 @@ -# $NetBSD: Makefile.common,v 1.2 2002/07/28 12:31:35 schmonz Exp $ +# $NetBSD: Makefile.common,v 1.3 2002/09/03 21:44:12 jschauma Exp $ # RELVERSION= 1.3.1 RELNAME= ${RELVERSION}-02b-FCS-linux EXTNAME= ${BASENAME}-${RELNAME} EXTRACT_SUFX= .bin + +.if ${MACHINE_ARCH:Mi[3-6]86} != "" +MACHINE_ARCH=i386 +.endif + .if ${MACHINE_ARCH} == "arm" MASTER_SITES= \ ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/arm/rc1/ \ @@ -53,7 +58,7 @@ NO_MTREE= yes PLIST_SUBST+= RELVERSION=${RELVERSION} ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc NetBSD-*-sparc \ - Linux-*-i386 Linux-*-powerpc Linux-*-sparc + Linux-*-i[3-6]86 Linux-*-powerpc Linux-*-sparc .if ${MACHINE_ARCH} != "arm" EXTRACT_CMD= ${ECHO} yes | ${DISTDIR}/${DISTFILES} --nox11 > /dev/null @@ -61,6 +66,10 @@ post-fetch: @${CHMOD} +x ${DISTDIR}/${DISTFILES} .endif +.if ${OPSYS} == "NetBSD" +MESSAGE_SRC= ${PKGDIR}/MESSAGE.${OPSYS} +.endif + post-patch: @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f @${FIND} ${WRKSRC} -name '*.1.gz' -print | ${XARGS} ${GUNZIP_CMD} |