summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Daniel Mierswa <impulze@impulze.org> 2009-09-29 07:36:45 +0200
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-09-29 18:10:10 +0200
commit17c6e1af34bb757028ffad66ee0d075c1baa71dc (patch)
treef5746911e1161aeef4075ded3d7b1a02d2cf1378
parent79b99cda89efec1c94a561214cb510ee661c505c (diff)
downloadmozilla-17c6e1af34bb757028ffad66ee0d075c1baa71dc.tar.gz
mozilla-17c6e1af34bb757028ffad66ee0d075c1baa71dc.tar.xz
Set proper libdir in nss .pc file.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
-rw-r--r--packages/dev-libs/nss/files/nss.pc.in2
-rw-r--r--packages/dev-libs/nss/nss-3.12.3.1.exheres-02
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/dev-libs/nss/files/nss.pc.in b/packages/dev-libs/nss/files/nss.pc.in
index 50114dc..e54fc7b 100644
--- a/packages/dev-libs/nss/files/nss.pc.in
+++ b/packages/dev-libs/nss/files/nss.pc.in
@@ -1,6 +1,6 @@
prefix=/usr
exec_prefix=${prefix}/bin
-libdir=${prefix}/lib/nss
+libdir=${prefix}/@LIBDIR@/nss
includedir=${prefix}/include/nss
majorversion=@MAJOR_VERSION@
diff --git a/packages/dev-libs/nss/nss-3.12.3.1.exheres-0 b/packages/dev-libs/nss/nss-3.12.3.1.exheres-0
index c7295bb..60834f6 100644
--- a/packages/dev-libs/nss/nss-3.12.3.1.exheres-0
+++ b/packages/dev-libs/nss/nss-3.12.3.1.exheres-0
@@ -63,7 +63,7 @@ src_install() {
local ${v}=$(sed -n "s/^#define[[:space:]]*NSS_V${v}[[:space:]]*//p" lib/nss/nss.h)
done
- sed -e "s|@libdir@|\${prefix}/$(get_libdir)/nss|" \
+ sed -e "s|@LIBDIR@|$(get_libdir)|" \
-e "s|@MAJOR_VERSION@|${MAJOR}|" \
-e "s|@VERSION@|${MAJOR}.${MINOR}.${PATCH}|" \
"${FILES}"/nss.pc.in > "${WORK}"/nss.pc