pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: distribution patch files
Hi,
From: Patrick Welche <prlw1%cam.ac.uk@localhost>, Date: Tue, 2 Oct 2012
17:02:05 +0100
> I tried to include a distribution patch file in glib-2.34.0 (options.mk) with:
>
> PATCH_SITES= http://bugzilla-attachments.gnome.org/
> PATCHFILES= attachment.cgi?id=224541
> PATCH_DIST_STRIP= -p1
>
> and got:
>
> make: don't know how to make
> /usr/pkgsrc/distfiles/attachment.cgi?id=224541. Stop
>
> Just in case it's because of the ?, I tried
>
> PATCH_SITES= http://bugzilla-attachments.gnome.org/
> UNQPATCHFILES= attachment.cgi?id=224541
> PATCHFILES= ${UNQPATCHFILES:Q}
> PATCH_DIST_STRIP= -p1
>
> but still no luck:
>
> make: don't know how to make
> /usr/pkgsrc/distfiles/attachment.cgi\?id=224541. Stop
>
>
> What am I missing?
I have no experience about PATCHFILES.
But for DISTNAME,
DISTNAME= ANY_FILE_NAME.tar.gz
MASTER_SITES= -http://example.com/foo/bar
will creates distfiles/ANY_FILE_NAME.tar.gz.
How about
PATCHFILES= gnome-bug-224541.diff
PATCH_SITES=
-http://bugzilla-attachments.gnome.org/attachment.cgi?id=224541
I do not know this mechanism is defined by which pkgsrc/mk file,
and it is not confirmed.
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index