aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2001-11-06 04:48:20 +0800
committerjmz <jmz@FreeBSD.org>2001-11-06 04:48:20 +0800
commitb3a3ae84908f41eb7771087cfe7692aed21612ab (patch)
tree62c8509db01eb56adc8d0c6d8937e6c3186c3116 /net-mgmt
parent3aa5e899d10ab20e80fb2c5fdf87b4b06646e284 (diff)
downloadfreebsd-ports-gnome-b3a3ae84908f41eb7771087cfe7692aed21612ab.tar.gz
freebsd-ports-gnome-b3a3ae84908f41eb7771087cfe7692aed21612ab.tar.zst
freebsd-ports-gnome-b3a3ae84908f41eb7771087cfe7692aed21612ab.zip
Add a pre-everything target to inform about the WITH_PANCHO_LOGGING option.
Submitted by: MAINTAINER
Diffstat (limited to 'net-mgmt')
-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}:' \