summaryrefslogtreecommitdiffstats
path: root/libraries/gl2ps/gl2ps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gl2ps/gl2ps.SlackBuild')
-rw-r--r--libraries/gl2ps/gl2ps.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/gl2ps/gl2ps.SlackBuild b/libraries/gl2ps/gl2ps.SlackBuild
index 386cc4c948..33c1192880 100644
--- a/libraries/gl2ps/gl2ps.SlackBuild
+++ b/libraries/gl2ps/gl2ps.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gl2ps
-# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2011-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2011/08/10
+# revision date 2012/09/14
PRGNAM=gl2ps
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,13 +71,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch CMakeLists.txt to accept -DLIB_SUFFIX
-patch -p1 <$CWD/gl2ps_libsuffix.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_EXE_LINKER_FLAGS:STRING="-lm" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \