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 | d060976040636ec81dd4ec9300b173c932f27fdf (patch) | |
tree | 934aa21fdf7015087f3fb9bb5d10a6dc5b8207d9 /security/opencdk | |
parent | 2476acbd05d8c6383fb9cdeaf6e3b80db35468e0 (diff) | |
download | pkgsrc-d060976040636ec81dd4ec9300b173c932f27fdf.tar.gz |
Fix build under Solaris.
Diffstat (limited to 'security/opencdk')
-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} |