summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-02-16 22:41:31 +0000
committertnn <tnn@pkgsrc.org>2008-02-16 22:41:31 +0000
commita6a98bdd5132cbafd317a8ee8c0f64e790c92095 (patch)
tree2fe79c58edff59b463d25a222084b294075fb1e8
parentf7b6859d88ddb0887bbbe0d6c95a433ad53939e5 (diff)
downloadpkgsrc-a6a98bdd5132cbafd317a8ee8c0f64e790c92095.tar.gz
fix hpux platform detection.
-rw-r--r--x11/qt3-libs/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common
index d080293eebd..e6f43f7512c 100644
--- a/x11/qt3-libs/Makefile.common
+++ b/x11/qt3-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.69 2007/12/17 18:21:31 tron Exp $
+# $NetBSD: Makefile.common,v 1.70 2008/02/16 22:41:31 tnn Exp $
DISTNAME= qt-x11-free-${QTVERSION}
CATEGORIES= x11
@@ -51,6 +51,12 @@ CONFIGURE_ARGS+= -platform solaris-g++
CONFIGURE_ARGS+= -platform solaris-cc
. endif
SYS_LIBS= -lresolv -lsocket -lnsl -lrt
+.elif ${OPSYS} == "HPUX"
+. if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+= -platform hpux-g++
+. else
+CONFIGURE_ARGS+= -platform hpux-acc
+. endif
.elif ${OPSYS} == "Interix"
CONFIGURE_ARGS+= -platform interix-g++
CFLAGS+= -I/usr/local/include/bind