summaryrefslogtreecommitdiffstats
path: root/desktop/cryptkeeper/cryptkeeper.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-16 23:04:23 +0200
committer dsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:43 -0400
commit6b513bedf346653bb7d8a9898e74e7995e136210 (patch)
tree717505a4cc9734c06e9f7c30ba626decb0acd25e /desktop/cryptkeeper/cryptkeeper.SlackBuild
parent71d6e5d82d257c97b054f7865eb0b6aa4dc49194 (diff)
downloadslackbuilds-6b513bedf346653bb7d8a9898e74e7995e136210.tar.gz
slackbuilds-6b513bedf346653bb7d8a9898e74e7995e136210.tar.xz
desktop/cryptkeeper: Patched for gcc-4.7.x and fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/cryptkeeper/cryptkeeper.SlackBuild')
-rw-r--r--desktop/cryptkeeper/cryptkeeper.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/cryptkeeper/cryptkeeper.SlackBuild b/desktop/cryptkeeper/cryptkeeper.SlackBuild
index 0397d5da8f..85d6557a75 100644
--- a/desktop/cryptkeeper/cryptkeeper.SlackBuild
+++ b/desktop/cryptkeeper/cryptkeeper.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM="cryptkeeper"
VERSION=${VERSION:-0.9.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,6 +73,10 @@ find . \
\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
-exec chmod 755 {} \;
+# Patch for gcc-4.7.x
+patch -p1 < $CWD/gcc47.patch
+
+LDFLAGS="-lX11" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \