aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-30 03:07:49 +0800
committerpav <pav@FreeBSD.org>2005-01-30 03:07:49 +0800
commit0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf (patch)
treea1eae731ae693ce6cafca0cf08bbf9f6609edece /net-mgmt
parent7d9bec568121e3bbec32d9442a43474c95fcea31 (diff)
downloadfreebsd-ports-graphics-0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf.tar.gz
freebsd-ports-graphics-0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf.tar.zst
freebsd-ports-graphics-0cb5ee375f12fd535ecd6eb82f7c8f29b45724bf.zip
- Fix build with read-only ports tree
PR: ports/76788 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
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 b211c323a41..5d864428b03 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