aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-25 01:52:35 +0800
committerobrien <obrien@FreeBSD.org>1998-12-25 01:52:35 +0800
commit0b0291cf0b0220295991465ed41c14d3d7ec3151 (patch)
treefffdcf5d64dc87b8b55472452183117f3a5947d6
parent45b2bd786972b40621b18777c5d698a0cd129cb6 (diff)
downloadfreebsd-ports-gnome-0b0291cf0b0220295991465ed41c14d3d7ec3151.tar.gz
freebsd-ports-gnome-0b0291cf0b0220295991465ed41c14d3d7ec3151.tar.zst
freebsd-ports-gnome-0b0291cf0b0220295991465ed41c14d3d7ec3151.zip
Attempt to not "exit 1" if the distfile is missing. Otherwise batch fetching
of distfiles is harder than I would like.
-rw-r--r--security/bro/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/security/bro/Makefile b/security/bro/Makefile
index d508a405dc46..2a975fe04480 100644
--- a/security/bro/Makefile
+++ b/security/bro/Makefile
@@ -4,7 +4,7 @@
# Date created: Sat Feb 28, 1998
# Whom: David O'Brien (obrien@FreeBSD.org)
#
-# $Id: Makefile,v 1.5 1998/09/14 00:20:20 obrien Exp $
+# $Id: Makefile,v 1.6 1998/11/04 18:45:38 obrien Exp $
#
DISTNAME= vp-bro-0.4-alpha
@@ -16,22 +16,15 @@ MAINTAINER= obrien@FreeBSD.org
RESTRICTED= "Author wishes Alpha releases not to be distrubted."
+.if !exists(${DISTDIR}/vp-bro-0.4-alpha${EXTRACT_SUFX})
+IGNORE='Please contact Vern Paxson <vern@ee.lbl.gov> to obtain the obtain the Bro source. Put it in ${DISTDIR} as vp-bro-0.4-alpha${EXTRACT_SUFX} and run make again'
+.endif
+
IS_INTERACTIVE= "manual fetch"
WRKSRC= ${WRKDIR}/bro-0.4
CONFIGURE_ARGS= --libdir=${PREFIX}/share
GNU_CONFIGURE= yes
-do-fetch:
- @if [ ! -f ${DISTDIR}/vp-bro-0.4-alpha${EXTRACT_SUFX} ]; then \
- echo ""; \
- echo "Please contact Vern Paxson <vern@ee.lbl.gov>"; \
- echo "to obtain the obtain the Bro source. Put it in"; \
- echo "${DISTDIR} as vp-bro-0.4-alpha${EXTRACT_SUFX}"; \
- echo "and run make again"; \
- echo ""; \
- exit 1;\
- fi
-
post-patch:
@${MV} ${WRKSRC}/util.cc ${WRKSRC}/util.cc.in
@${SED} -e "s|/usr/src/rtsg/bro/policy:/usr/local/lib/bro|${PREFIX}/share/bro|" \