ports/148102: make install can fail for ports-mgmt/packagekit
[patch]
Jeremy Messenger
mezz7 at cox.net
Fri Jun 25 01:59:11 UTC 2010
On Thu, 24 Jun 2010 17:38:36 -0500, Don Lewis <truckman at freebsd.org> wrote:
> On 24 Jun, mezz at FreeBSD.org wrote:
>> Synopsis: make install can fail for ports-mgmt/packagekit [patch]
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: mezz
>> State-Changed-When: Thu Jun 24 21:32:03 UTC 2010
>> State-Changed-Why:
>> Have you test this patch? Are you sure it works? Shouldn't it be patch
>> in
>> the Makefile.in instead of Makefile.am?
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=148102
>
> Yup, I tested it, but I probably got fooled by xsltproc running faster
> the second time around.
>
> I just looked at the output from make and found that not only did my
> patch not change anything, but that there are three more instances of
> the same problem:
>
> make.out:xsltproc
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> pkcon.xml &> /dev/null
> make.out:xsltproc
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> pkmon.xml &> /dev/null
> make.out:xsltproc
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> pkgenpack.xml &> /dev/null
> make.out:xsltproc
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> pk-debuginfo-install.xml &> /dev/null
>
> The others instances are in contrib/device-rebind/ and client/, though
> the former doesn't appear to get executed.
Quick way would be add in the post-patch something looks like this:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|.xml [$$]? &> /dev|.xml $$? > /dev|g'
It's untest, I will test it this weekend and see if it works.
Cheers,
Mezz
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list