pkgsrc-WIP-discuss archive

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

Re: Path to PKG_CONFIG



On Fri, 26 May 2006 10:22:13 +0200
joerg%britannica.bec.de@localhost wrote:
> On Thu, May 25, 2006 at 02:53:18PM +0200, Lars Nordlund wrote:
> >  -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.

You mean TOOLS_PATH.pkg-config in combination with
TOOLS_CMD.pkg-config? Like this:

# path hackery
SUBST_CLASSES+=                 pkg-config
SUBST_STAGE.pkg-config=         post-configure
SUBST_FILES.pkg-config=         config.h
SUBST_SED.pkg-config=           -e 
"s|PKG_CONFIG=${TOOLS_CMD.pkg-config}|PKG_CONFIG=${TOOLS_PATH.pkg-config}|g"
SUBST_MESSAGE.pkg-config=       Fixing hardcoded PKG_CONFIG path.


Best regards,
        Lars Nordlund


-------------------------------------------------------
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