summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-22 03:51:15 +0000
committermarcus <marcus@FreeBSD.org>2003-07-22 03:51:15 +0000
commit4c878b2de3c591f42b407359ba508da86b4dc779 (patch)
treeb0ce26426bed9e7c76bb72ddd1943c9e876dbc4a /Mk
parent5bf8de1a44650d263882dacca2cabf193db546f5 (diff)
downloadFreeBSD-ports-4c878b2de3c591f42b407359ba508da86b4dc779.zip
FreeBSD-ports-4c878b2de3c591f42b407359ba508da86b4dc779.tar.gz
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 230d96c..7c25406 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}
OpenPOWER on IntegriCloud