Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 11:16:58 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Trevor Johnson <trevor@jpj.net>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: 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
Message-ID:  <xzplln8k3fp.fsf@dwp.des.no>
In-Reply-To: <20040212031228.E31447@blues.jpj.net> (Trevor Johnson's message of "Thu, 12 Feb 2004 03:38:18 -0500 (EST)")
References:  <200402110716.i1B7GH9D017803@repoman.freebsd.org> <xzpisidbtvn.fsf@dwp.des.no> <1076508074.88428.14.camel@pav.hide.vol.cz> <20040211122704.X93022@blues.jpj.net> <xzpk72tiah1.fsf@dwp.des.no> <20040211165940.Q98525@blues.jpj.net> <xzp4qtweqlf.fsf@dwp.des.no> <20040212031228.E31447@blues.jpj.net>

index | next in thread | previous in thread | raw e-mail

Trevor Johnson <trevor@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@des.no


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplln8k3fp.fsf>