From bfd5c7ebad144926a48df9cd4e6c35ab178772eb Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 28 Jan 2008 10:13:55 +0000 Subject: Support the 64-bit ABI on Solaris. Patch from Gilles Dauphin via PR 37886, with minor modifications from me. --- x11/qt4-libs/Makefile.common | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3