summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-06-28 12:20:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-06-28 12:20:03 +0000
commit0ef3cbe80a079448cc5ddfba7dd0a67798263673 (patch)
treeef66d057d133ec487bdcf0114d918b6bd43bd7e4 /Mk
parentUpdate to 28 June snapshot from HEAD. (diff)
Use system sed(1) for doing in-place editing if OSVERSION is greater than
460100. Submitted by: obrien
Notes
Notes: svn path=/head/; revision=62152
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 8a7a389acbdf..2ba61643b274 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -712,7 +712,7 @@ PKGDIR?= ${MASTERDIR}
# Special macro for doing in-place file editing using regexps
.if defined(USE_REINPLACE)
REINPLACE_ARGS?= -i.bak
-.if ${OSVERSION} <= 500033
+.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500034 )
BUILD_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else