pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Path to PKG_CONFIG



On Thu, May 25, 2006 at 02:53:18PM +0200, Lars Nordlund wrote:
> In two packages I have been mucking around with lately the path to
> PKG_CONFIG is embedded in autogenerated files. I did this in
> wip/meanwhile:
> 
> # path hackery
> SUBST_CLASSES+=                 pkg_config
> SUBST_STAGE.pkg_config=         post-build
> SUBST_FILES.pkg_config=         samples/build
> SUBST_SED.pkg_config=                           \
>  -e "s|PKG_CONFIG= ${WRKDIR}/.tools| PKG_CONFIG= ${LOCALBASE}|g"
> SUBST_MESSAGE.pkg_config=       Fixing hardcoded PKG_CONFIG path

This is wrong, use TOOLS_PATH.pkg_config instead.

Joerg


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index