summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-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}