Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 21:03:22 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Don Lewis" <truckman@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: ports/148102: make install can fail for ports-mgmt/packagekit [patch]
Message-ID:  <op.vet2okvm9aq2h7@localhost>
In-Reply-To: <201006242238.o5OMcaZG023931@gw.catspoiler.org>
References:  <201006242238.o5OMcaZG023931@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jun 2010 17:38:36 -0500, Don Lewis <truckman@freebsd.org> wrote:

> On 24 Jun, mezz@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@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



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