aboutsummaryrefslogtreecommitdiff
path: root/media/plugins/swfdec
diff options
context:
space:
mode:
Diffstat (limited to 'media/plugins/swfdec')
-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`"