summaryrefslogtreecommitdiff
path: root/libraries/newt/newt.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-10-05 17:04:55 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-10-07 09:15:26 -0400
commitad3f4016b91661017e0c51f1524ef9a744c06caf (patch)
tree706f83f3b6b2ee31c0e04f5413c15203d9b9a4e7 /libraries/newt/newt.SlackBuild
parent6b2fad891b61fe915dd068a1a15d480cd966f1cb (diff)
downloadslackbuilds-ad3f4016b91661017e0c51f1524ef9a744c06caf.tar.gz
libraries/newt: Updated for version 0.52.14 and fixed some CFLAGS.
Thanks to ruario and TobiSGD of linuxquestions.org Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/newt/newt.SlackBuild')
-rw-r--r--libraries/newt/newt.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/newt/newt.SlackBuild b/libraries/newt/newt.SlackBuild
index 62168d62a5..cb93d82e9f 100644
--- a/libraries/newt/newt.SlackBuild
+++ b/libraries/newt/newt.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=newt
-VERSION=${VERSION:-0.52.13}
+VERSION=${VERSION:-0.52.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Use our CFLAGS also when building the python snackmodule
+sed -i "s|PIFLAGS\ \$\$PCFLAGS|PIFLAGS \$\$PCFLAGS ${SLKCFLAGS}|" Makefile.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \