diff options
author | obache <obache@pkgsrc.org> | 2012-01-07 06:11:28 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-07 06:11:28 +0000 |
commit | 8b5cd5cf62b9f630cc8c3279951323618fb5154b (patch) | |
tree | 62d186fc67bd0eb5ad946f6e49b3deec67b4bc62 /devel | |
parent | e9e2f3510741352a6fb4cd50f5427356399b97a0 (diff) | |
download | pkgsrc-8b5cd5cf62b9f630cc8c3279951323618fb5154b.tar.gz |
Use MACHINE_ARCH instead of LOWER_ARCH to detect Java Machine Arch.
Fixes PR#45788.
And apply rewrite x86_64 => amd64 rule not only to NetBSD.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/swt/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/swt/Makefile b/devel/swt/Makefile index dd267db450e..febd2909495 100644 --- a/devel/swt/Makefile +++ b/devel/swt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2012/01/02 18:56:58 dholland Exp $ +# $NetBSD: Makefile,v 1.14 2012/01/07 06:11:28 obache Exp $ # SWTREL= 3.5.1 @@ -37,10 +37,10 @@ INSTALLATION_DIRS+= lib/jni .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" && ${LOWER_ARCH} == "x86_64" +.if ${MACHINE_ARCH} == "x86_64" MY_LOWER_ARCH= amd64 .endif -MY_LOWER_ARCH?= ${LOWER_ARCH} +MY_LOWER_ARCH?= ${MACHINE_ARCH} post-extract: cd ${WRKSRC} && jar -xf ${WRKSRC}/src.zip |