aboutsummaryrefslogtreecommitdiff
path: root/libraries/json-glib/json-glib.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-12-30 15:49:18 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:33 -0600
commitb1eb7646843d89fe09fca6969a6056193594aa5e (patch)
treef400e7ea8f2b9bf4aed5b5b812d66e9d4c65468b /libraries/json-glib/json-glib.SlackBuild
parente46843d119a5fff3a0e488d7069c996d825f3586 (diff)
libraries/json-glib: Fixed a hardcoded library path.
Thanks to John Tyree. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/json-glib/json-glib.SlackBuild')
-rw-r--r--libraries/json-glib/json-glib.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/json-glib/json-glib.SlackBuild b/libraries/json-glib/json-glib.SlackBuild
index ac13243e8dc4e..14bf3c3c04edd 100644
--- a/libraries/json-glib/json-glib.SlackBuild
+++ b/libraries/json-glib/json-glib.SlackBuild
@@ -65,6 +65,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix the hard-coded pkgconfig file:
+patch -p0 < $CWD/fix_hardcoded_pkgconfig.diff
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -78,11 +81,6 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# Fix the hard-coded pkgconfig file:
-if [ "$ARCH" = "x86_64" ]; then
- sed -i "s#/lib#/lib64#" $PKG/usr/lib64/pkgconfig/json-glib-1.0.pc
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION