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 | 191743233c631f685fa52203a7c53d2567daa162 (patch) | |
tree | f081d93a3ffdcae4a4eb008ec1a8d24f438d20a2 /lang | |
parent | 4039a76f147b93d94254981cc85a94622b2fd03f (diff) | |
download | pkgsrc-191743233c631f685fa52203a7c53d2567daa162.tar.gz |
Fix build on SmartOS. From Nicolas Rosenvik in private mail.
Diffstat (limited to 'lang')
-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 |