mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Moved the gcc2 patch done via sed into an actual patch file.
This commit is contained in:
@@ -10,8 +10,7 @@ DEPEND="dev-util/pkconfig >= 0.23"
|
||||
BUILD {
|
||||
cd flam3-3.0/src
|
||||
if [ -n "$(setgcc | grep '2')" ]; then
|
||||
echo "Patching Makefile.am to support gcc2..."
|
||||
sed -i "s/-std=gnu99 //" Makefile.am
|
||||
patch -p0 -ui ../../../patches/flam3-3.0-gcc2.patch
|
||||
fi
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
|
||||
11
media-gfx/flam3/patches/flam3-3.0-gcc2.patch
Normal file
11
media-gfx/flam3/patches/flam3-3.0-gcc2.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- Makefile.am 2010-10-11 22:35:32.020447232 +0200
|
||||
+++ Makefile.am 2010-11-18 11:10:09.946339840 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
||||
|
||||
SVN_DEF = -D'SVN_REV="$(shell svnversion -n .)"'
|
||||
-AM_CFLAGS = -g -O3 -std=gnu99 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(SVN_DEF)
|
||||
+AM_CFLAGS = -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" $(SVN_DEF)
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
Reference in New Issue
Block a user