pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/apg this needs -lnsl on Linux and -lnsl -lsoc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/015b57bc9107
branches:  trunk
changeset: 477157:015b57bc9107
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jun 27 13:16:36 2004 +0000

description:
this needs -lnsl on Linux and -lnsl -lsocket on Solaris.

diffstat:

 security/apg/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6fa0818d073b -r 015b57bc9107 security/apg/Makefile
--- a/security/apg/Makefile     Sun Jun 27 13:13:23 2004 +0000
+++ b/security/apg/Makefile     Sun Jun 27 13:16:36 2004 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index