[arch-commits] Commit in js185/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Mon Apr 8 23:12:40 UTC 2013
Date: Tuesday, April 9, 2013 @ 01:12:40
Author: heftig
Revision: 182359
fix symlinks
Modified:
js185/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-08 22:04:50 UTC (rev 182358)
+++ PKGBUILD 2013-04-08 23:12:40 UTC (rev 182359)
@@ -3,7 +3,7 @@
pkgname=js185
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="JavaScript interpreter and libraries (legacy)"
arch=(i686 x86_64)
url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5"
@@ -16,6 +16,10 @@
build() {
cd js-1.8.5/js/src
+
+ # _FORTIFY_SOURCE causes configure error
+ unset CPPFLAGS
+
./configure --prefix=/usr --with-system-nspr \
--enable-threadsafe
make
@@ -26,6 +30,11 @@
make DESTDIR="$pkgdir" install
install -Dm755 shell/js "$pkgdir/usr/bin/js"
find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
+
+ # Bad symlinks (absolute, including DESTDIR!)
+ cd "$pkgdir/usr/lib"
+ ln -sf libmozjs185.so.1.0.0 libmozjs185.so.1.0
+ ln -sf libmozjs185.so.1.0 libmozjs185.so
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list