aboutsummaryrefslogtreecommitdiff
path: root/libraries/imlib2/imlib2.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2014-03-29 13:46:58 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:47 -0500
commitc2896b8c9ca4a49e913133f5638c05abfcd99054 (patch)
treee834d25a4c330975dc53f2214e13a2632fd19fd9 /libraries/imlib2/imlib2.SlackBuild
parentcf4928174c396d374cbc5c3e259b446e50d3633a (diff)
libraries/imlib2: Remove unexpanded variable from imlib2-config
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/imlib2/imlib2.SlackBuild')
-rw-r--r--libraries/imlib2/imlib2.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/imlib2/imlib2.SlackBuild b/libraries/imlib2/imlib2.SlackBuild
index 19b6f7be9745b..a270604db418e 100644
--- a/libraries/imlib2/imlib2.SlackBuild
+++ b/libraries/imlib2/imlib2.SlackBuild
@@ -69,6 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if ! grep -q "my_libs" configure.ac 2>/dev/null; then
+ sed -i 's|@my_libs@||' $PRGNAM-config.in
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \