diff options
author | Eric Hameleers <alien@slackware.com> | 2009-11-14 16:00:43 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2009-11-14 16:00:43 +0000 |
commit | 491ea8d831d9935c973055b60f6afe9fe93f8918 (patch) | |
tree | 53b40cd36cfbd6122093f0f2e3e46a3d15f16a9b /xulrunner | |
parent | 7eed9af6d1bfb443af1e4d34bc460e1b6537cec0 (diff) | |
download | asb-491ea8d831d9935c973055b60f6afe9fe93f8918.tar.gz asb-491ea8d831d9935c973055b60f6afe9fe93f8918.tar.xz |
Additions for pkg-config and the linker
Diffstat (limited to 'xulrunner')
-rwxr-xr-x | xulrunner/build/xulrunner.SlackBuild | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xulrunner/build/xulrunner.SlackBuild b/xulrunner/build/xulrunner.SlackBuild index 750d2ba4..45433bc2 100755 --- a/xulrunner/build/xulrunner.SlackBuild +++ b/xulrunner/build/xulrunner.SlackBuild @@ -183,6 +183,23 @@ export CFLAGS="$SLKCFLAGS" make MOZ_MAKE_FLAGS="$NUMJOBS" 2>&1 | tee $OUTPUT/make-${PRGNAM}.log make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log +# Add missing xulrunner-plugin.pc +( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig + ln -sf mozilla-plugin.pc xulrunner-plugin.pc +) + +# Make symlinks to prevent version information from entering dependencies: +( cd $PKG/usr/lib${LIBDIRSUFFIX} + ln -sf xulrunner-${VERSION} xulrunner + ln -sf xulrunner-devel-${VERSION} xulrunner-devel +) + +# Ensure that xulrunner libraries are found by applications that need them +# (this way you can remove seamonkey completely): +if ! grep -q /usr/lib${LIBDIRSUFFIX}/xulrunner etc/ld.so.conf ; then + echo "/usr/lib${LIBDIRSUFFIX}/xulrunner" >> etc/ld.so.conf +fi + # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true |