]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
gnash update
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sat, 2 Sep 2006 14:59:37 +0000 (14:59 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sat, 2 Sep 2006 14:59:37 +0000 (14:59 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@145 370017ae-e619-0410-ac65-c121f96126d4

gnash/gnash.SlackBuild

index 511564edb9a38e1c2426d5993e26f1cbabdf05d6..547bcd644fbf4e08e22d26d0e57efe1611fc6d58 100755 (executable)
@@ -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