ap/acedb: Fixed missing LDFLAG.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent 3b40a5ccde
commit c73c42adef
  1. 12
      ap/acedb/acedb-4.9.39-ldflags.diff
  2. 3
      ap/acedb/acedb.SlackBuild

@ -0,0 +1,12 @@
diff -Naur ACEDB-source-4.9.39.orig/wmake/LINUX_4_DEF ACEDB-source-4.9.39/wmake/LINUX_4_DEF
--- ACEDB-source-4.9.39.orig/wmake/LINUX_4_DEF 2006-06-15 15:35:47.000000000 +0200
+++ ACEDB-source-4.9.39/wmake/LINUX_4_DEF 2012-10-13 01:16:49.981297937 +0200
@@ -28,7 +28,7 @@
LINKER = gcc $(COPT)
# The arg to libs-config is used if our private copy not installed.
-LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline
+LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline -lX11
### Linux uses flex to emulate the standard 'lex' program
LEX_LIBS = -lfl

@ -31,7 +31,7 @@ BASEURL=${BASEURL:-ftp://ftp.sanger.ac.uk/pub/acedb/SUPPORTED}
# Build infos
NAMEPKG=${NAMEPKG:-acedb}
BUILD=${BUILD:-4GGD}
BUILD=${BUILD:-5GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -84,6 +84,7 @@ mkdir -p $TMP/$NAMEPKG
tar xf $CWD/ACEDB-source.$VERSION.tar.gz -C $TMP/$NAMEPKG
cd $TMP/$NAMEPKG
patch -p 1 < $CWD/acedb-4.9.39-gsettings-name-collision.diff
patch -p 1 < $CWD/acedb-4.9.39-ldflags.diff
ACEDB_MACHINE=LINUX_4 make -j $JOBS COPT="$CPUOPT" || true
mkdir -p $PKG/usr/bin
find bin.LINUX_4 -type f -perm 755 -exec install -m 755 '{}' $PKG/usr/bin \;

Loading…
Cancel
Save