From aedb4339f94486aafcc3720b8bc170de19be5c53 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 29 Jul 2004 21:57:45 +0000 Subject: [PATCH] Pullup ticket 81 to the pkgsrc-2004Q2 branch, requested by Grant Beattie Solaris and Linux fixes for apg Module Name: pkgsrc Committed By: grant Date: Sun Jun 27 13:16:36 UTC 2004 Modified Files: pkgsrc/security/apg: Makefile Log Message: this needs -lnsl on Linux and -lnsl -lsocket on Solaris. --- doc/CHANGES-pkgsrc-2004Q2 | 4 +++- security/apg/Makefile | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/CHANGES-pkgsrc-2004Q2 b/doc/CHANGES-pkgsrc-2004Q2 index 9b5a60e8060cc..612074566c490 100644 --- a/doc/CHANGES-pkgsrc-2004Q2 +++ b/doc/CHANGES-pkgsrc-2004Q2 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-pkgsrc-2004Q2,v 1.1.2.44 2004/07/29 21:54:34 agc Exp $ +$NetBSD: CHANGES-pkgsrc-2004Q2,v 1.1.2.45 2004/07/29 21:57:45 agc Exp $ Changes to the packages collection and infrastructure on the pkgsrc-2004Q2 branch: @@ -84,4 +84,6 @@ Pullup ticket 79, requested by Grant Beattie [agc 2004-07-29] Solaris fixes for fspanel Pullup ticket 80, requested by Grant Beattie [agc 2004-07-29] Solaris fixes for cfs +Pullup ticket 81, requested by Grant Beattie [agc 2004-07-29] + Solaris and Linux fixes for apg diff --git a/security/apg/Makefile b/security/apg/Makefile index fc77e42f858cf..21b989b881720 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.5.6.1 2004/07/29 21:57:45 agc 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