summaryrefslogtreecommitdiff
path: root/net-mgmt/pancho
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-11-05 20:48:20 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-11-05 20:48:20 +0000
commitdff7072a3ad63bf23053ad069fd35682ebe9b527 (patch)
treea9f105943b25c6db5ce45cb3f284e54665ac7772 /net-mgmt/pancho
parentFix URL. (diff)
Add a pre-everything target to inform about the WITH_PANCHO_LOGGING option.
Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=49626
Diffstat (limited to 'net-mgmt/pancho')
-rw-r--r--net-mgmt/pancho/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-mgmt/pancho/Makefile b/net-mgmt/pancho/Makefile
index c70867e8ba36..97ca031b5f1d 100644
--- a/net-mgmt/pancho/Makefile
+++ b/net-mgmt/pancho/Makefile
@@ -17,6 +17,11 @@ RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SNMP.pm:${PORTS
NO_BUILD= YES
+pre-everything::
+.if !defined(WITH_PANCHO_LOGGING)
+ @${ECHO_MSG} "Type \"make WITH_PANCHO_LOGGING=yes\" if you want to enable logging."
+.endif
+
pre-patch:
@${MV} ${WRKSRC}/pancho ${WRKSRC}/pancho.old
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \