cvs commit: ports/www/firefox Makefile distinfo pkg-descr pkg-message pkg-plist ports/www/firefox/files firebird.rb firefox.rb mkdistfile mozconfig.in patch-Double.cpp patch-build_unix_run-mozilla

Dag-ErlingSmørgrav des at des.no
Thu Feb 12 02:17:09 PST 2004


Trevor Johnson <trevor at jpj.net> writes:
> > The "added dependency" argument is specious as it is only true for
> > RELENG_4_6 and earlier.
> grep OSVERSION /usr/ports/Mk/bsd.port.mk

what exactly are you trying to prove?

.if defined(USE_REINPLACE)
REINPLACE_ARGS?=        -i.bak
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 )
PATCH_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
.endif

BTW, I don't see why REINPLACE_CMD couldn't simply be ${PERL} -p
${REINPLACE_ARGS} on systems that don't have sed -i, since both 4.x
and 5.x prior to 500036 have Perl in the base system.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list