aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-01-12 08:32:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-01-12 08:32:44 +0800
commitd3b9d2972096aa4c3902c645d6ad6a8c0d499ec4 (patch)
treed0618ca48f4944e37ca832142234cb90ccf031ba /net-mgmt
parentb0a934ee07b0bfa378f2c3b657da5e4b4e121825 (diff)
downloadfreebsd-ports-gnome-d3b9d2972096aa4c3902c645d6ad6a8c0d499ec4.tar.gz
freebsd-ports-gnome-d3b9d2972096aa4c3902c645d6ad6a8c0d499ec4.tar.zst
freebsd-ports-gnome-d3b9d2972096aa4c3902c645d6ad6a8c0d499ec4.zip
- Fix invocation of python and perl scripts by correcting path to env executable
PR: 130069 Submitted by: Michael W Lucas <mwlucas at blackhelicopters dot org> Approved by: Volodymyr Kostyrko <c dot kworr at gmail dot com> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/flow-tools-ng/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/flow-tools-ng/Makefile b/net-mgmt/flow-tools-ng/Makefile
index 09b6f0ae6339..2947e0b9cbea 100644
--- a/net-mgmt/flow-tools-ng/Makefile
+++ b/net-mgmt/flow-tools-ng/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flow-tools
PORTVERSION= 0.68.4
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX= -ng
@@ -74,6 +75,8 @@ post-patch:
-e 's|@sysconfdir@/sym/|${PREFIX}/share/flow-tools/|' \
-e 's|@sysconfdir@/cfg/|${PREFIX}/etc/flow-tools/|' \
${WRKSRC}/docs/flow-*.1.in ${WRKSRC}/docs/flow-*.html.in
+ @${REINPLACE_CMD} -e 's|!/bin/env|!/usr/bin/env|' \
+ ${WRKSRC}/bin/* ${WRKSRC}/utils/*
pre-su-install:
@${SETENV} ${SCRIPTS_ENV} \