diff options
author | Niels Horn <niels.horn@gmail.com> | 2012-09-14 11:48:15 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-14 16:37:55 -0500 |
commit | eef727303c8e4a5eb00da759f45c5f0b8410c1b5 (patch) | |
tree | 8e40d26cc7fcbc1736549ed8ce4b5cd9ba487c37 /libraries/gl2ps/gl2ps.SlackBuild | |
parent | 3304ef3ce27e81028205ff52ce638bdf356a176b (diff) | |
download | slackbuilds-eef727303c8e4a5eb00da759f45c5f0b8410c1b5.tar.gz |
libraries/gl2ps: Updated for version 1.3.7 (+gcc-4.7 fix)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/gl2ps/gl2ps.SlackBuild')
-rw-r--r-- | libraries/gl2ps/gl2ps.SlackBuild | 10 |
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 \ |