From eef727303c8e4a5eb00da759f45c5f0b8410c1b5 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Fri, 14 Sep 2012 11:48:15 -0300 Subject: libraries/gl2ps: Updated for version 1.3.7 (+gcc-4.7 fix) Signed-off-by: Niels Horn --- libraries/gl2ps/gl2ps.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libraries/gl2ps/gl2ps.SlackBuild') 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 \ -- cgit v1.2.3