summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-12-16 13:46:59 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-12-16 13:46:59 +0000
commitb90c2645019ef9429433467b789467788c4ab313 (patch)
tree8e87146e12e7c4c88c5da8af93004febdef53af5 /x11
parent82747abf41bc988db936996b65fc7239b93a639b (diff)
downloadpkgsrc-b90c2645019ef9429433467b789467788c4ab313.tar.gz
Pass -arch ${MACHINE_ARCH} to configure so it doesn't rely on uname -m
Diffstat (limited to 'x11')
-rw-r--r--x11/qt4-libs/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/qt4-libs/Makefile.common b/x11/qt4-libs/Makefile.common
index 61f3dda5070..6e63950fb1a 100644
--- a/x11/qt4-libs/Makefile.common
+++ b/x11/qt4-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2008/10/26 14:02:33 adam Exp $
+# $NetBSD: Makefile.common,v 1.12 2008/12/16 13:46:59 jmcneill Exp $
# used by x11/qt4-libs/Makefile
DISTNAME= qt-x11-opensource-src-${QTVERSION}
@@ -28,6 +28,7 @@ CONFIGURE_ARGS+= -system-libpng
CONFIGURE_ARGS+= -system-zlib
CONFIGURE_ARGS+= -qt-gif # qt4 does not write compressed GIFs
CONFIGURE_ARGS+= ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//}
+CONFIGURE_ARGS+= -arch ${MACHINE_ARCH}
# current WebKit fails for missing pthread_getattr_np() in
# src/3rdparty/webkit/JavaScriptCore/kjs/collector.cpp
#CONFIGURE_ARGS+= -no-webkit