summaryrefslogtreecommitdiff
path: root/lang/qore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qore/Makefile')
-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