diff options
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 |