summaryrefslogtreecommitdiff
path: root/academic/geda-gaf/geda-gaf.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-05 13:41:43 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 18:53:46 -0600
commit8462861a12739be662fcf313bdae09b6913fe92a (patch)
tree3c47b9b8875c6c70cb8a43c76041328cd3354df1 /academic/geda-gaf/geda-gaf.SlackBuild
parent2f5e3db1f736f9ca03fa2c72b5adf3af8a988127 (diff)
downloadslackbuilds-8462861a12739be662fcf313bdae09b6913fe92a.tar.gz
academic/geda-gaf: Rebuilt to add -lm to LDFLAGS
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/geda-gaf/geda-gaf.SlackBuild')
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index 42232d3223..91b71de886 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=geda-gaf
VERSION=${VERSION:-1.6.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -45,16 +45,17 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch
+LDFLAGS="$LDFLAGS -lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \