summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-29 19:07:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-29 19:07:49 +0000
commit6a947f0a88eedd856852f06876d5880ae3a19829 (patch)
tree14587f4d80e7595f4fc69d0b3f4101a7405d26a0 /net-mgmt
parent- Update to 0.4.0 (diff)
- Fix build with read-only ports tree
PR: ports/76788 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Notes
Notes: svn path=/head/; revision=127638
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/flowd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/flowd/Makefile b/net-mgmt/flowd/Makefile
index b211c323a414..5d864428b035 100644
--- a/net-mgmt/flowd/Makefile
+++ b/net-mgmt/flowd/Makefile
@@ -22,6 +22,7 @@ MAN8= flowd.8 flowd-reader.8
MAN5= flowd.conf.5
PORTDOCS= README INSTALL
FLOWD_USER?= _flowd
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if defined(WITH_PERL)
USE_PERL5= yes
@@ -54,8 +55,8 @@ pre-extract:
.endif
post-patch:
- @${REINPLACE_CMD} -e "s;%%FLOWD_USER%%;${FLOWD_USER};g" \
- ${PKGDEINSTALL}
+ @${SED} -e "s;%%FLOWD_USER%%;${FLOWD_USER};g" \
+ ${.CURDIR}/pkg-deinstall > ${PKGDEINSTALL}
@${REINPLACE_CMD} -e "s;%%FLOWD_USER%%;${FLOWD_USER};g" \
${WRKSRC}/flowd.h