[Build-common-hackers] Bug#741084: Bug#741084: cdbs: Include autotools configure --exec-prefix variable

Jonas Smedegaard dr at jones.dk
Sat Mar 8 14:12:04 UTC 2014


Hi Santiago,

Quoting Santiago Ruano Rincón (2014-03-08 11:49:37)
> I've just moved grep packaging (version 2.18-1) to cdbs. One of the
> manual settings I had to do is to configure the prefix of
> architecture-dependent files (grep installs its binaries in /bin/).
> Since I didn't find a specific cdbs autotools variable for this, I'm
> using:
> DEB_CONFIGURE_EXTRA_FLAGS += --exec-prefix=/
> 
> The attached patch adds DEB_CONFIGURE_EXECDIR to autotools-vars.mk

Thanks for the proposed patch!

I wonder, however, if it is perhaps best to leave it as-is.

Goal of CDBS is to be flexible enough to not get in the way of unusual 
settings, but it is not the goal to provide a specific CDBS variable to 
express any and all need.

Seems to me that your current use of DEB_CONFIGURE_EXTRA_FLAGS is a good 
approach.

Do you foresee that it might be an unreliable approach that future 
changes to CDBS or other packages might break, or do you imagine this 
particular setting to be more commonly useful for others, or why do you 
propse the patch?


> PS. I admit that I used to dislike cdbs, but now I think it's useful. 
> Thanks a lot for you work!

Yes, I noticed your switch to CDBS when the package entered Sid, and 
appreciate both your switch and your elaboration of that decision in 
changelog - as inspiration for others that CDBS is not obsolete ;-)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20140308/fb5a7a18/attachment.sig>


More information about the Build-common-hackers mailing list