summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2016-02-16 01:07:22 +0000
committerdbj <dbj@pkgsrc.org>2016-02-16 01:07:22 +0000
commit09b080c0e8f900afdb28d63b2a60ac02e8aa88cb (patch)
tree4c388e2c2ee279bd3577a2946c7ee60e58b152c3 /databases
parent083f5aa21b7c0fc7b85ecd366f0b4ba2cd1032f5 (diff)
downloadpkgsrc-09b080c0e8f900afdb28d63b2a60ac02e8aa88cb.tar.gz
specify --with-arch-${MACHINE_ARCH} on Darwin
Diffstat (limited to 'databases')
-rw-r--r--databases/pgadmin3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile
index 1c6894395a6..4d750e5813d 100644
--- a/databases/pgadmin3/Makefile
+++ b/databases/pgadmin3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2015/08/05 15:29:00 richard Exp $
+# $NetBSD: Makefile,v 1.50 2016/02/16 01:07:22 dbj Exp $
DISTNAME= pgadmin3-1.20.0
CATEGORIES= databases
@@ -22,6 +22,12 @@ CONFIGURE_ARGS+= --with-wx-version=3.0
CONFIGURE_ARGS+= --with-libxml2=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-libxslt=${BUILDLINK_PREFIX.libxslt}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-arch-${MACHINE_ARCH}
+.endif
+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"