diff options
author | grant <grant@pkgsrc.org> | 2004-06-27 13:16:36 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-06-27 13:16:36 +0000 |
commit | 9c3b5e60dd4f197f24a8fe3bed0af61053c6ca17 (patch) | |
tree | 30dc72e3a320336f979dc076f1207e2cf06273b8 | |
parent | 5b876a8915a743d1c05bc726b6546cfbd3963add (diff) | |
download | pkgsrc-9c3b5e60dd4f197f24a8fe3bed0af61053c6ca17.tar.gz |
this needs -lnsl on Linux and -lnsl -lsocket on Solaris.
-rw-r--r-- | security/apg/Makefile | 7 |
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 |