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>
next in thread | previous in thread | raw e-mail | index | archive | help
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?=3D -i.bak .if ${OSVERSION} < 460101 || ( ${OSVERSION} >=3D 500000 && ${OSVERSION} < 5= 00036 ) PATCH_DEPENDS+=3D ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inp= lace REINPLACE_CMD?=3D ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS} .else REINPLACE_CMD?=3D ${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 --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplln8k3fp.fsf>