graphics/lilypond: Add LDFLAGS to work with guile1.8

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-19 08:13:22 +07:00 committed by Robby Workman
parent 7a005f99f9
commit 06fe5e3cdb
2 changed files with 13 additions and 3 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=lilypond PRGNAM=lilypond
VERSION=${VERSION:-2.16.2} VERSION=${VERSION:-2.16.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -65,10 +65,20 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R u+w,go-w,a+rX-st . find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i 's|GUILE_CFLAGS=.*|GUILE_CFLAGS="`pkg-config --cflags guile-1.8`"|' configure
sed -i 's|GUILE_LDFLAGS=.*|GUILE_LDFLAGS="`pkg-config --libs guile-1.8`"|' configure
export GUILE=/usr/bin/guile1.8
export GUILE_CONFIG=/usr/bin/guile-config1.8
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-lX11 -lpthread" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.16/lilypond-2.16.2.
MD5SUM="6db27f17d47e4f66a3b0716c65db3041" MD5SUM="6db27f17d47e4f66a3b0716c65db3041"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="fontforge mftrace" REQUIRES="fontforge mftrace guile1.8"
MAINTAINER="Kyle Guinn" MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com" EMAIL="elyk03@gmail.com"