pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/qore Fix build on SmartOS. From Nicolas Rosenvik ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e8ee7aaf79b
branches:  trunk
changeset: 644679:4e8ee7aaf79b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jan 16 10:23:24 2015 +0000

description:
Fix build on SmartOS. From Nicolas Rosenvik in private mail.

diffstat:

 lang/qore/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c3ab59fe2872 -r 4e8ee7aaf79b lang/qore/Makefile
--- a/lang/qore/Makefile        Fri Jan 16 09:56:34 2015 +0000
+++ b/lang/qore/Makefile        Fri Jan 16 10:23:24 2015 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index