diff options
Diffstat (limited to 'libraries/SFML/SFML.SlackBuild')
-rw-r--r-- | libraries/SFML/SFML.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild index 29db2f7fd483b..91f9719fa914a 100644 --- a/libraries/SFML/SFML.SlackBuild +++ b/libraries/SFML/SFML.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=SFML VERSION=${VERSION:-1.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -61,6 +61,9 @@ sed -i "s/CFLAGS\ .*=/CFLAGS +=/" src/SFML/Makefile # Patch Makefile to put libs in correct place sed -i "s|(DESTDIR)/lib|(DESTDIR)/lib$LIBDIRSUFFIX|" src/SFML/Makefile +# Add a big patch for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch + CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG/usr |