summaryrefslogtreecommitdiff
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
commit0c644e2ab7f6b1e114c535f64ef69d49551c4cbf (patch)
tree4c388e2c2ee279bd3577a2946c7ee60e58b152c3
parentdc1dec554e5aae69414cfa414350891c6ac32098 (diff)
downloadpkgsrc-0c644e2ab7f6b1e114c535f64ef69d49551c4cbf.tar.gz
specify --with-arch-${MACHINE_ARCH} on Darwin
-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"