diff options
Diffstat (limited to 'libraries/fltk')
-rw-r--r-- | libraries/fltk/fltk.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild index a0e106305b03..b0958493ecb3 100644 --- a/libraries/fltk/fltk.SlackBuild +++ b/libraries/fltk/fltk.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.1.10 BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -77,7 +75,7 @@ find -L . \ patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch patch -p1 -i $CWD/fltk-1.1.x-r5750-undefined.patch -# Fix linking when --libdir=/usr/lib64 +# Fix linking when --libdir=/usr/lib64 sed -i \ -e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \ src/Makefile || exit @@ -97,7 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-threads \ --enable-xinerama \ --enable-xft \ - --enable-xdbe + --enable-xdbe make make install DESTDIR=$PKG |