summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2010-01-16 11:23:03 +0000
committertron <tron>2010-01-16 11:23:03 +0000
commit66e244c216b75c9fcabf703e1524850750566bbb (patch)
tree934aa21fdf7015087f3fb9bb5d10a6dc5b8207d9
parentaa89d6ca4eba8f8dc111c47b3e1f59dd47e3905b (diff)
downloadpkgsrc-66e244c216b75c9fcabf703e1524850750566bbb.tar.gz
Fix build under Solaris.
-rw-r--r--security/opencdk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index 4a4e05e8052..007d83b5ff4 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -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 @@ PKGCONFIG_OVERRIDE= src/opencdk.pc.in
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}