aboutsummaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-23 20:33:49 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-23 20:33:49 +0000
commit6c26ae0d27f6d6581b1ef8bfcbade5b027663443 (patch)
tree82b160866c26c2d46cbdc26881b32afe7e7e34e4 /media
parent7bc6e0ee603d9bb54b21d94d44189db56e2c2e12 (diff)
downloadslackbuilds-6c26ae0d27f6d6581b1ef8bfcbade5b027663443.tar.gz
slackbuilds-6c26ae0d27f6d6581b1ef8bfcbade5b027663443.tar.bz2
swfdec: testing a dirty hack
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1282 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media')
-rwxr-xr-xmedia/plugins/swfdec/swfdec.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media/plugins/swfdec/swfdec.SlackBuild b/media/plugins/swfdec/swfdec.SlackBuild
index d634baa5..12fa7d29 100755
--- a/media/plugins/swfdec/swfdec.SlackBuild
+++ b/media/plugins/swfdec/swfdec.SlackBuild
@@ -87,12 +87,13 @@ fi
# dirty hack
if [ "$ARCH" == "x86_64" ] && [ "$VERSION" == "0.5.0" ]; then
- cd libswfdec
- sed -e 's/\/usr\/lib64\/libpng12.la//g' libswfdec-0.5.la > libswfdec-0.5.la.new
- mv libswfdec-0.5.la.new libswfdec-0.5.la
+ touch /usr/lib64/libpng12.la
+ make || exit $ERROR_MAKE
+ rm /usr/lib64/libpng12.la
+else
+ make || exit $ERROR_MAKE
fi
-make || exit $ERROR_MAKE
make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL
CWD="`pwd`"