summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-28 10:13:55 +0000
committerrillig <rillig@pkgsrc.org>2008-01-28 10:13:55 +0000
commitbfd5c7ebad144926a48df9cd4e6c35ab178772eb (patch)
tree4077adb70da58833ad7e1a3aec4a04f7d05b0d7b
parent98ae096a666da43cca5ab695d0748a740fb331e0 (diff)
downloadpkgsrc-bfd5c7ebad144926a48df9cd4e6c35ab178772eb.tar.gz
Support the 64-bit ABI on Solaris. Patch from Gilles Dauphin via
PR 37886, with minor modifications from me.
-rw-r--r--x11/qt4-libs/Makefile.common10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/qt4-libs/Makefile.common b/x11/qt4-libs/Makefile.common
index 5a52c797617..acdac424186 100644
--- a/x11/qt4-libs/Makefile.common
+++ b/x11/qt4-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2007/11/04 23:29:13 rillig Exp $
+# $NetBSD: Makefile.common,v 1.7 2008/01/28 10:13:55 rillig Exp $
DISTNAME= qt-x11-opensource-src-${QTVERSION}
CATEGORIES= x11
@@ -46,9 +46,17 @@ CONFIGURE_ARGS+= -no-g++-exceptions
.if ${OPSYS} == "SunOS"
. if !empty(CC_VERSION:Mgcc*)
+. if ${ABI} == "64"
+CONFIGURE_ARGS+= -platform solaris-g++-64
+. else
CONFIGURE_ARGS+= -platform solaris-g++
+. endif
. else
+. if ${ABI} == "64"
+CONFIGURE_ARGS+= -platform solaris-cc-64
+. else
CONFIGURE_ARGS+= -platform solaris-cc
+. endif
. endif
SYS_LIBS= -lresolv -lsocket -lnsl -lrt
.elif ${OPSYS} == "Interix"