pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/opencdk Fix build under Solaris.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48746ecc53e4
branches:  trunk
changeset: 569454:48746ecc53e4
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Jan 16 11:23:03 2010 +0000

description:
Fix build under Solaris.

diffstat:

 security/opencdk/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r aec6cab2ce79 -r 48746ecc53e4 security/opencdk/Makefile
--- a/security/opencdk/Makefile Sat Jan 16 10:54:17 2010 +0000
+++ b/security/opencdk/Makefile Sat Jan 16 11:23:03 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2009/05/30 01:57:26 zafer Exp $
+# $NetBSD: Makefile,v 1.32 2010/01/16 11:23:03 tron Exp $
 
 DISTNAME=      opencdk-0.6.6
 CATEGORIES=    security devel
@@ -27,6 +27,12 @@
 
 INSTALLATION_DIRS=     ${HTMLDIR} ${EGDIR}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LIBS+= -lnsl
+.endif
+
 pre-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DESTDIR}${HTMLDIR}
        cd ${WRKSRC}/tests && ${INSTALL_DATA} *.gpg *.c ${DESTDIR}${EGDIR}



Home | Main Index | Thread Index | Old Index