aboutsummaryrefslogtreecommitdiff
path: root/gnash/gnash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gnash/gnash.SlackBuild')
-rwxr-xr-xgnash/gnash.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnash/gnash.SlackBuild b/gnash/gnash.SlackBuild
index 511564ed..547bcd64 100755
--- a/gnash/gnash.SlackBuild
+++ b/gnash/gnash.SlackBuild
@@ -25,8 +25,8 @@ REPOS=${REPOS:=$TMP}
if [ "$ARCH" == "x86_64" ]; then
export CFLAGS=-fPIC
export LDFLAGS="-L/lib64 -L/usr/lib64 -fPIC"
- export X_LDFLAGS="-L/usr/lib64"
- export X_LIBS="-L/usr/lib64"
+ # export X_LDFLAGS="-L/usr/lib64"
+ # export X_LIBS="-L/usr/lib64"
LIBDIR=/usr/lib64
else
LIBDIR=/usr/lib
@@ -63,6 +63,14 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
fi
./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR
+
+# coxa, favor corrigir!
+if [ "$ARCH" == "x86_64" ]; then
+ sed -e "s/^X_LDFLAGS = -L\/usr\/lib/X_LDFLAGS = -L\/usr\/lib64/" \
+ -e "s/^X_LIBS = -L\/usr\/lib/X_LIBS = -L\/usr\/lib64/" plugin/Makefile > plugin/Makefile.new
+ mv plugin/Makefile.new plugin/Makefile
+fi
+
make
make DESTDIR=$TMP/package-$PACKAGE install