[Build-common-hackers] Bug#494141: Patch for bug 494141

Giulio Paci giuliopaci at gmail.com
Thu Nov 8 22:48:37 UTC 2012


Il 08/11/2012 23:02, Giulio Paci ha scritto:
> This week I also encountered this bug while implementing get-orig-source target (required by my sponsor, because upstream sources had license issues and needed repackaging).
> 
> I tried to respect policy §4.9 without editing CDBS files, but I was unsuccessful.
> So attached is a patch that worked for me, by implementing the DEB_ROOT idea.
> The patch that should cleanly apply to revision 824dba in the git repository.

Unfortunately my previous patch introduced an error. I fixed it.

Please also note that I did not include in the patch this default:
DEB_ROOT ?= $(abspath $(dir $(firstword $(MAKEFILE_LIST)))/..)
but
DEB_ROOT ?= .

The first default will allow get-orig-source to work from any directory, without the need to override DEB_ROOT.

Bests,
	Giulio.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_get-orig-source.2.patch
Type: text/x-patch
Size: 4480 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20121108/0572800d/attachment.bin>


More information about the Build-common-hackers mailing list