Sat Feb 16 22:41:31 2008 UTC ()
fix hpux platform detection.


(tnn)
diff -r1.69 -r1.70 pkgsrc/x11/qt3-libs/Makefile.common

cvs diff -r1.69 -r1.70 pkgsrc/x11/qt3-libs/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/x11/qt3-libs/Attic/Makefile.common 2007/12/17 18:21:31 1.69
+++ pkgsrc/x11/qt3-libs/Attic/Makefile.common 2008/02/16 22:41:31 1.70
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.69 2007/12/17 18:21:31 tron Exp $ 1# $NetBSD: Makefile.common,v 1.70 2008/02/16 22:41:31 tnn Exp $
2 2
3DISTNAME= qt-x11-free-${QTVERSION} 3DISTNAME= qt-x11-free-${QTVERSION}
4CATEGORIES= x11 4CATEGORIES= x11
5MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \ 5MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
6 ftp://ftp.bero.org/pub/qt/source/ \ 6 ftp://ftp.bero.org/pub/qt/source/ \
7 http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/ 7 http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10.include "../../x11/qt3/Makefile.common" 10.include "../../x11/qt3/Makefile.common"
11 11
12DISTINFO_FILE= ${.CURDIR}/../../x11/qt3-libs/distinfo 12DISTINFO_FILE= ${.CURDIR}/../../x11/qt3-libs/distinfo
13FILESDIR= ${.CURDIR}/../../x11/qt3-libs/files 13FILESDIR= ${.CURDIR}/../../x11/qt3-libs/files
14PATCHDIR= ${.CURDIR}/../../x11/qt3-libs/patches 14PATCHDIR= ${.CURDIR}/../../x11/qt3-libs/patches
@@ -41,26 +41,32 @@ SCRIPTS_ENV+= HOME="${WRKDIR}" @@ -41,26 +41,32 @@ SCRIPTS_ENV+= HOME="${WRKDIR}"
41.include "../../mk/compiler.mk" 41.include "../../mk/compiler.mk"
42 42
43.if !empty(CC_VERSION:Mgcc*) 43.if !empty(CC_VERSION:Mgcc*)
44CONFIGURE_ARGS+= -no-g++-exceptions 44CONFIGURE_ARGS+= -no-g++-exceptions
45.endif 45.endif
46 46
47.if ${OPSYS} == "SunOS" 47.if ${OPSYS} == "SunOS"
48. if !empty(CC_VERSION:Mgcc*) 48. if !empty(CC_VERSION:Mgcc*)
49CONFIGURE_ARGS+= -platform solaris-g++ 49CONFIGURE_ARGS+= -platform solaris-g++
50. else 50. else
51CONFIGURE_ARGS+= -platform solaris-cc 51CONFIGURE_ARGS+= -platform solaris-cc
52. endif 52. endif
53SYS_LIBS= -lresolv -lsocket -lnsl -lrt 53SYS_LIBS= -lresolv -lsocket -lnsl -lrt
 54.elif ${OPSYS} == "HPUX"
 55. if !empty(CC_VERSION:Mgcc*)
 56CONFIGURE_ARGS+= -platform hpux-g++
 57. else
 58CONFIGURE_ARGS+= -platform hpux-acc
 59. endif
54.elif ${OPSYS} == "Interix" 60.elif ${OPSYS} == "Interix"
55CONFIGURE_ARGS+= -platform interix-g++ 61CONFIGURE_ARGS+= -platform interix-g++
56CFLAGS+= -I/usr/local/include/bind 62CFLAGS+= -I/usr/local/include/bind
57LDFLAGS+= -L/usr/local/lib/bind -lbind 63LDFLAGS+= -L/usr/local/lib/bind -lbind
58BUILDLINK_PASSTHRU_DIRS+=/usr/local/include/bind /usr/local/lib/bind 64BUILDLINK_PASSTHRU_DIRS+=/usr/local/include/bind /usr/local/lib/bind
59SYS_LIBS= -lbind -ldb -ldl 65SYS_LIBS= -lbind -ldb -ldl
60.elif ${OPSYS} == "DragonFly" 66.elif ${OPSYS} == "DragonFly"
61CONFIGURE_ARGS+= -platform freebsd-g++ 67CONFIGURE_ARGS+= -platform freebsd-g++
62.elif ${OPSYS} == "Darwin" 68.elif ${OPSYS} == "Darwin"
63QMAKE_RANLIB= ${RANLIB} 69QMAKE_RANLIB= ${RANLIB}
64. if exists(/usr/lib/libresolv.dylib) 70. if exists(/usr/lib/libresolv.dylib)
65LDFLAGS+= -lresolv 71LDFLAGS+= -lresolv
66. endif 72. endif