pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/argus Fix finding perl in the Configure for the ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/280d7b1b76cc
branches:  trunk
changeset: 495812:280d7b1b76cc
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Jun 22 13:14:50 2005 +0000

description:
Fix finding perl in the Configure for the new tools infrastructure.
Also change dependencies from build to run as needed while in use.

oked during "deep freeze" by Alistair Crooks.

diffstat:

 net/argus/Makefile   |  16 +++++++++-------
 net/argus/options.mk |   6 +++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diffs (57 lines):

diff -r 5c5ccbe5b7e5 -r 280d7b1b76cc net/argus/Makefile
--- a/net/argus/Makefile        Wed Jun 22 10:30:12 2005 +0000
+++ b/net/argus/Makefile        Wed Jun 22 13:14:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/06/08 14:48:13 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/06/22 13:14:50 markd Exp $
 #
 
 DISTNAME=      argus-3.3
@@ -11,14 +11,15 @@
 HOMEPAGE=      http://argus.tcp4me.com/
 COMMENT=       System and Network Monitoring Application
 
-BUILD_DEPENDS+=        fping>=2.4b2:../../net/fping
-BUILD_DEPENDS+=        p5-GD>=2.11:../../graphics/p5-GD
-BUILD_DEPENDS+=        p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
-BUILD_DEPENDS+=        p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
-BUILD_DEPENDS+=        p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
-BUILD_DEPENDS+=        p5-DBI-[0-9]*:../../databases/p5-DBI
+DEPENDS+=      fping>=2.4b2:../../net/fping
+DEPENDS+=      p5-GD>=2.11:../../graphics/p5-GD
+DEPENDS+=      p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
+DEPENDS+=      p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
+DEPENDS+=      p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
+DEPENDS+=      p5-DBI-[0-9]*:../../databases/p5-DBI
 
 USE_TOOLS+=            perl
+TOOLS_DEPMETHOD.perl=  DEPENDS
 USE_PKGINSTALL=                yes
 HAS_CONFIGURE=                 yes
 CONFIGURE_SCRIPT=      ${WRKSRC}/Configure
@@ -27,6 +28,7 @@
 CONFIGURE_ARGS+=       --sbin_dir ${PREFIX}/sbin
 CONFIGURE_ARGS+=       --lib_dir  ${PREFIX}/lib/argus
 CONFIGURE_ARGS+=       --data_dir ${VARBASE}/argus
+CONFIGURE_ENV+=                PERL=${TOOLS_PERL5:Q}
 
 RCD_SCRIPTS=           argusd
 
diff -r 5c5ccbe5b7e5 -r 280d7b1b76cc net/argus/options.mk
--- a/net/argus/options.mk      Wed Jun 22 10:30:12 2005 +0000
+++ b/net/argus/options.mk      Wed Jun 22 13:14:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2005/06/08 14:48:13 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2005/06/22 13:14:50 markd Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.argus
 PKG_SUPPORTED_OPTIONS= inet6
@@ -6,6 +6,6 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Minet6)
-BUILD_DEPENDS+= fping6-[0-9]*:../../net/fping6
-BUILD_DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6
+DEPENDS+= fping6-[0-9]*:../../net/fping6
+DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6
 .endif



Home | Main Index | Thread Index | Old Index