summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorgrant <grant>2004-06-27 13:16:36 +0000
committergrant <grant>2004-06-27 13:16:36 +0000
commit2006257e4b6965723f7fab9778922f6e550a9f8b (patch)
tree30dc72e3a320336f979dc076f1207e2cf06273b8 /security/apg
parentf7357be3f8a198c8282533658955e2d4583a3ffe (diff)
downloadpkgsrc-2006257e4b6965723f7fab9778922f6e550a9f8b.tar.gz
this needs -lnsl on Linux and -lnsl -lsocket on Solaris.
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index fc77e42f858..d501c67028e 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 22:52:51 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/06/27 13:16:36 grant Exp $
#
DISTNAME= apg-2.1.0
@@ -14,6 +14,11 @@ MAKE_ENV+= FLAGS="${CFLAGS}" INSTALL_PREFIX="${PREFIX}"
USE_PERL5= YES
REPLACE_PERL= perl/apgcli.pl
+OPSYSVARS+= CS_LIBS
+CS_LIBS.Linux+= -lnsl
+CS_LIBS.SunOS+= -lnsl -lsocket
+MAKE_ENV+= CS_LIBS="${CS_LIBS}"
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli