summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2012-01-07 06:11:28 +0000
committerobache <obache>2012-01-07 06:11:28 +0000
commit753493365fe261a83d96072e0ceb79cc60c92e2b (patch)
tree62d186fc67bd0eb5ad946f6e49b3deec67b4bc62 /devel
parent8764a26d8f0ce0254c220ad7c7a8b80296b043b1 (diff)
downloadpkgsrc-753493365fe261a83d96072e0ceb79cc60c92e2b.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/Makefile6
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