diff options
Diffstat (limited to 'academic/seaview/seaview.SlackBuild')
-rw-r--r-- | academic/seaview/seaview.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild index ed40b4786e..7a0404d3de 100644 --- a/academic/seaview/seaview.SlackBuild +++ b/academic/seaview/seaview.SlackBuild @@ -24,8 +24,8 @@ # Thanks to Niels Horn for correcting the CFLAGS. -PRGNAM=seaview -VERSION=${VERSION:-4.3.3} +PRGNAM=seaview +VERSION=${VERSION:-4.3.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +40,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -73,6 +73,10 @@ find . \ # Use our CFLAGS sed -i "/^CFLAGS/s/=/+=/" Makefile +sed -i "14 c FLTK = /usr/include/fltk13" Makefile +sed -i "s:#IFLTK:IFLTK:" Makefile +sed -i "18 c LFLTK = -L/usr/lib${LIBDIRSUFFIX}/fltk13" Makefile +sed -i "28 a LDFLAGS= -Wl,--rpath,/usr/lib${LIBDIRSUFFIX}/fltk13" Makefile # Point to the correct documentation path and phyml executable name sed -i "s:#HELPFILE:HELPFILE:" Makefile |