package: use <pkg>_CONFIG_SCRIPTS in packages that used special handling
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Feb 2013 12:35:06 +0000 (12:35 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 8 Feb 2013 21:40:49 +0000 (22:40 +0100)
commit4d3f810aaf43aac7cb29ab6b875206da2a9a15b1
treea6232b02636a31d2a7931ae97de125dc4c8d0a80
parenta5ce8576748421b6dece97a665e575d7dfc9fbe8
package: use <pkg>_CONFIG_SCRIPTS in packages that used special handling

The packages changed by this commit were not only changing prefix= and
exec_prefix= during their <foo>-config fixups, they were also changing
includedir= and/or libdir=. So, they could not be directly converted
to the new <pkg>_CONFIG_SCRIPTS infrastructure.

However, a careful analysis of their default <foo>-config shows that
includedir= and libdir= is defined relatively to either ${prefix} and
${exec_prefix}. Therefore, the manual fixing of includedir= and
libdir= is useless, and fixing prefix= and exec_prefix=, as done by
the <pkg>_CONFIG_SCRIPTS mechanism is sufficient.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/freetype/freetype.mk
package/libpng/libpng.mk
package/libxslt/libxslt.mk