summaryrefslogtreecommitdiffstats
path: root/net-mgmt/flowd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-29 19:07:49 +0000
committerpav <pav@FreeBSD.org>2005-01-29 19:07:49 +0000
commit0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf (patch)
treea1eae731ae693ce6cafca0cf08bbf9f6609edece /net-mgmt/flowd
parent7d9bec568121e3bbec32d9442a43474c95fcea31 (diff)
downloadFreeBSD-ports-0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf.zip
FreeBSD-ports-0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf.tar.gz
- Fix build with read-only ports tree
PR: ports/76788 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Diffstat (limited to 'net-mgmt/flowd')
-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 b211c32..5d86442 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
OpenPOWER on IntegriCloud