diff options
author | tron <tron@pkgsrc.org> | 2010-01-16 11:23:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2010-01-16 11:23:03 +0000 |
commit | 212a025fe57363e2c8acb000718c8de3aba04914 (patch) | |
tree | 934aa21fdf7015087f3fb9bb5d10a6dc5b8207d9 /security | |
parent | 726a33a3d26e4565b8bc55c998a0b62495906708 (diff) | |
download | pkgsrc-212a025fe57363e2c8acb000718c8de3aba04914.tar.gz |
Fix build under Solaris.
Diffstat (limited to 'security')
-rw-r--r-- | security/opencdk/Makefile | 8 |
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} |