summaryrefslogtreecommitdiff
path: root/devel/swt
diff options
context:
space:
mode:
authorobache <obache>2012-01-07 06:11:28 +0000
committerobache <obache>2012-01-07 06:11:28 +0000
commit491ab04c5637bfc1bf222192d8013204eafc1c5a (patch)
tree62d186fc67bd0eb5ad946f6e49b3deec67b4bc62 /devel/swt
parent70c82651460a588e6fc45fe7b1ce773e3652ca64 (diff)
downloadpkgsrc-491ab04c5637bfc1bf222192d8013204eafc1c5a.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/swt')
-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