summaryrefslogtreecommitdiff
path: root/lang/qore
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-01-16 10:23:24 +0000
committerwiz <wiz@pkgsrc.org>2015-01-16 10:23:24 +0000
commit795240d3086039df7e8bf43a83b22162ff61d196 (patch)
treef081d93a3ffdcae4a4eb008ec1a8d24f438d20a2 /lang/qore
parent6b717d89660a55f0acc35895de32d2e349268499 (diff)
downloadpkgsrc-795240d3086039df7e8bf43a83b22162ff61d196.tar.gz
Fix build on SmartOS. From Nicolas Rosenvik in private mail.
Diffstat (limited to 'lang/qore')
-rw-r--r--lang/qore/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/qore/Makefile b/lang/qore/Makefile
index ec82041a154..de1b4b49d03 100644
--- a/lang/qore/Makefile
+++ b/lang/qore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/12/30 15:39:51 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2015/01/16 10:23:24 wiz Exp $
DISTNAME= qore-0.8.11
PKGREVISION= 2
@@ -18,6 +18,12 @@ USE_LANGUAGES= c c++
PTHREAD_OPTS+= native
FLEX_REQD= 2.5.31
+# make AC_CHECK_FUNC find gethost* etc on smartos
+# http://sourceforge.net/p/qore/code/6980
+.if "${OPSYS}" == "SunOS"
+LIBS+= -lnsl
+.endif
+
PKGCONFIG_OVERRIDE+= qore.pc.in
REPLACE_QORE= doxygen/qdx