diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-16 10:23:24 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-16 10:23:24 +0000 |
commit | 795240d3086039df7e8bf43a83b22162ff61d196 (patch) | |
tree | f081d93a3ffdcae4a4eb008ec1a8d24f438d20a2 /lang/qore | |
parent | 6b717d89660a55f0acc35895de32d2e349268499 (diff) | |
download | pkgsrc-795240d3086039df7e8bf43a83b22162ff61d196.tar.gz |
Fix build on SmartOS. From Nicolas Rosenvik in private mail.
Diffstat (limited to 'lang/qore')
-rw-r--r-- | lang/qore/Makefile | 8 |
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 |