From 3dcaee2196a32b37c17730062a1121d08f905459 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 2 Sep 2006 14:59:37 +0000 Subject: gnash update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@145 370017ae-e619-0410-ac65-c121f96126d4 --- gnash/gnash.SlackBuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnash/gnash.SlackBuild') 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 -- cgit v1.2.3