aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-22 11:51:15 +0800
committermarcus <marcus@FreeBSD.org>2003-07-22 11:51:15 +0800
commit4c878b2de3c591f42b407359ba508da86b4dc779 (patch)
treeb0ce26426bed9e7c76bb72ddd1943c9e876dbc4a /Mk
parent5bf8de1a44650d263882dacca2cabf193db546f5 (diff)
downloadfreebsd-ports-gnome-4c878b2de3c591f42b407359ba508da86b4dc779.tar.gz
freebsd-ports-gnome-4c878b2de3c591f42b407359ba508da86b4dc779.tar.zst
freebsd-ports-gnome-4c878b2de3c591f42b407359ba508da86b4dc779.zip
Include sed_inplace as a PATCH_DEPENDS rather than a BUILD_DEPENDS to fix
patching on older FreeBSD systems (4.5 and earlier). PR: 54090 Submitted by: tobez
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 230d96c1037d..7c25406e475d 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1494,7 +1494,7 @@ USE_SUBMAKE= yes
.if defined(USE_REINPLACE)
REINPLACE_ARGS?= -i.bak
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 )
-BUILD_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
+PATCH_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}