diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-17 19:02:02 +0100 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-19 19:54:51 +0100 |
commit | 067f8abfce6cfa9902ef9e9a6385e9ae214a8726 (patch) | |
tree | 2fd171e76cbb2db20763a6fddaa8c18b56f81462 /libraries/SDL_Pango/SDL_Pango.SlackBuild | |
parent | f016242dfedf8bc4706c4977178b689a24630ae3 (diff) | |
download | slackbuilds-067f8abfce6cfa9902ef9e9a6385e9ae214a8726.tar.gz |
libraries/SDL_Pango: Add a few more fixes from Fedora.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/SDL_Pango/SDL_Pango.SlackBuild')
-rw-r--r-- | libraries/SDL_Pango/SDL_Pango.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/SDL_Pango/SDL_Pango.SlackBuild b/libraries/SDL_Pango/SDL_Pango.SlackBuild index e19d4024c7..0d3b0d167b 100644 --- a/libraries/SDL_Pango/SDL_Pango.SlackBuild +++ b/libraries/SDL_Pango/SDL_Pango.SlackBuild @@ -24,15 +24,13 @@ PRGNAM=SDL_Pango VERSION=0.1.2 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -58,14 +56,19 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +patch -p1 < $CWD/SDL_Pango-0.1.2-suppress-warning.patch || exit 1 patch -p0 < $CWD/SDL_Pango-0.1.2-API-adds.patch || exit 1 +patch -p1 < $CWD/SDL_Pango-0.1.2-matrix_declarations.patch || exit 1 + +autoreconf +libtoolize --copy --force CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -73,6 +76,7 @@ CFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --disable-static \ || exit 1 make || exit 1 |