summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2013-04-11 14:51:39 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2013-04-11 14:51:39 +0700
commitce1f329c44a6146ee6f5592fc4e0ba8d86819f39 (patch)
tree7088f199f4d8ca8c534354fc4021898c258f3801 /dev-lua/linotify
parent[net-im/prosody-modules] bump (diff)
downloadlua-ce1f329c44a6146ee6f5592fc4e0ba8d86819f39.tar.gz
lua-ce1f329c44a6146ee6f5592fc4e0ba8d86819f39.tar.bz2
lua-ce1f329c44a6146ee6f5592fc4e0ba8d86819f39.zip
pkgconfig fixes
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/linotify')
-rw-r--r--dev-lua/linotify/linotify-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lua/linotify/linotify-9999.ebuild b/dev-lua/linotify/linotify-9999.ebuild
index 253bb53..04533db 100644
--- a/dev-lua/linotify/linotify-9999.ebuild
+++ b/dev-lua/linotify/linotify-9999.ebuild
@@ -30,7 +30,7 @@ src_compile() {
use luajit && LUAPKG_CMD="luajit";
export LUAPKG_CMD;
emake \
- CFLAGS="${CFLAGS} $(pkg-config ${LUAPKG_CMD} --cflags) -fPIC -O3 -Wall" \
+ CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --cflags) -fPIC -O3 -Wall" \
|| die "emake failed"
}
@@ -39,6 +39,6 @@ src_install() {
doins README.md
emake install \
DESTDIR="${D}" \
- INSTALL_PATH="$(pkg-config ${LUAPKG_CMD} --variable=INSTALL_CMOD)" \
+ INSTALL_PATH="$($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --variable=INSTALL_CMOD)" \
|| die "emake failed"
}