diff options
Diffstat (limited to 'devel/sfml/files/patch-src-SFML-Makefile')
-rw-r--r-- | devel/sfml/files/patch-src-SFML-Makefile | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/devel/sfml/files/patch-src-SFML-Makefile b/devel/sfml/files/patch-src-SFML-Makefile index 3c765402c3ce..fff2516c153d 100644 --- a/devel/sfml/files/patch-src-SFML-Makefile +++ b/devel/sfml/files/patch-src-SFML-Makefile @@ -1,40 +1,40 @@ --- src/SFML/Makefile.orig 2010-01-27 17:00:37.000000000 +0300 +++ src/SFML/Makefile 2010-08-25 07:08:45.000000000 +0400 @@ -4,7 +4,7 @@ - ifeq ($(DEBUGBUILD), yes)
- DEBUGFLAGS = -g -DDEBUG
- else
-- DEBUGFLAGS = -O2 -DNDEBUG
-+ DEBUGFLAGS =
- endif
-
- ifeq ($(STATIC), no)
+ ifeq ($(DEBUGBUILD), yes) + DEBUGFLAGS = -g -DDEBUG + else +- DEBUGFLAGS = -O2 -DNDEBUG ++ DEBUGFLAGS = + endif + + ifeq ($(STATIC), no) @@ -15,11 +15,11 @@ - LINKFLAGS =
- endif
-
--export CC = gcc
--export CPP = g++
--export CFLAGS = -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS)
--export CFLAGSEXT = -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS)
--export LDFLAGS = $(LINKFLAGS)
-+export CC ?= gcc
-+export CXX ?= g++
-+export CFLAGS += -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
-+export CXXFLAGS += -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
-+export LDFLAGS = -L${LOCALBASE}/lib $(LINKFLAGS)
- export LIBPATH = ../../../lib
- export VERSION = 1.6
- export CP = cp
+ LINKFLAGS = + endif + +-export CC = gcc +-export CPP = g++ +-export CFLAGS = -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS) +-export CFLAGSEXT = -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS) +-export LDFLAGS = $(LINKFLAGS) ++export CC ?= gcc ++export CXX ?= g++ ++export CFLAGS += -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ++export CXXFLAGS += -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ++export LDFLAGS = -L${LOCALBASE}/lib $(LINKFLAGS) + export LIBPATH = ../../../lib + export VERSION = 1.6 + export CP = cp @@ -27,9 +27,9 @@ - export LNFLAGS = -s -f
- export AR = ar
- export ARFLAGS = rcs
--export DESTDIR = /usr/local
-+export DESTDIR = ${PREFIX}
- export DESTLIBDIR = $(DESTDIR)/lib
--export DESTINCDIR = $(DESTDIR)/include
-+export DESTINCDIR = $(DESTDIR)/include/SFML
-
- all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio
-
+ export LNFLAGS = -s -f + export AR = ar + export ARFLAGS = rcs +-export DESTDIR = /usr/local ++export DESTDIR = ${PREFIX} + export DESTLIBDIR = $(DESTDIR)/lib +-export DESTINCDIR = $(DESTDIR)/include ++export DESTINCDIR = $(DESTDIR)/include/SFML + + all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio + |