pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs Support the 64-bit ABI on Solaris. Patch ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/619c1a55074c
branches:  trunk
changeset: 538089:619c1a55074c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jan 28 10:13:55 2008 +0000

description:
Support the 64-bit ABI on Solaris. Patch from Gilles Dauphin via
PR 37886, with minor modifications from me.

diffstat:

 x11/qt4-libs/Makefile.common |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r adf017e45fdc -r 619c1a55074c x11/qt4-libs/Makefile.common
--- a/x11/qt4-libs/Makefile.common      Mon Jan 28 09:25:52 2008 +0000
+++ b/x11/qt4-libs/Makefile.common      Mon Jan 28 10:13:55 2008 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index