1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Use system sed(1) for doing in-place editing if OSVERSION is greater than

460100.

Submitted by:	obrien
This commit is contained in:
Maxim Sobolev 2002-06-28 12:20:03 +00:00
parent 3dfd43f219
commit 0ef3cbe80a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62152

View File

@ -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