summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-27 13:16:36 +0000
committergrant <grant@pkgsrc.org>2004-06-27 13:16:36 +0000
commite14ffac7c8a0448c53d93f25505a218f0890de40 (patch)
tree30dc72e3a320336f979dc076f1207e2cf06273b8 /security/apg
parent65a1836873f47594728b197f395d30ca484060ca (diff)
downloadpkgsrc-e14ffac7c8a0448c53d93f25505a218f0890de40.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