summaryrefslogtreecommitdiffstats
path: root/graphics/ale/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ale/files/patch-Makefile')
-rw-r--r--graphics/ale/files/patch-Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/ale/files/patch-Makefile b/graphics/ale/files/patch-Makefile
index 2e9fe26..88c53b0 100644
--- a/graphics/ale/files/patch-Makefile
+++ b/graphics/ale/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Fri May 6 00:08:11 2005
-+++ Makefile Sat May 7 15:08:56 2005
-@@ -43,7 +43,7 @@
+--- Makefile.orig Fri May 5 05:25:01 2006
++++ Makefile Mon May 22 03:19:18 2006
+@@ -44,7 +44,7 @@
DEBUG_CFLAGS:=$(if $(subst 0,,$(DEBUG)),-DDEBUG,-DNDEBUG)
IMAGEMAGICK_CFLAGS:=$(if $(use_imagemagick),-DUSE_MAGICK $(shell Magick-config --cflags --cppflags),)
IMAGEMAGICK_LDFLAGS:=$(if $(use_imagemagick),$(shell Magick-config --ldflags --libs),)
@@ -9,15 +9,16 @@
POSIX_CFLAGS:=$(if $(subst 0,,$(POSIX)),-DUSE_UNIX,)
IOCTL_CFLAGS:=$(if $(subst 0,,$(IOCTL)),-DUSE_IOCTL,)
PRECISION_CFLAGS:=$(if $(subst SINGLE,,$(COLORS)),,-DALE_COLORS=SINGLE)\
-@@ -51,12 +51,12 @@
+@@ -52,13 +52,13 @@
$(if $(subst HALF,,$(COLORS)),,-DALE_COLORS=HALF)\
$(if $(subst SINGLE,,$(COORDINATES)),,-DALE_COORDINATES=SINGLE)\
$(if $(subst DOUBLE,,$(COORDINATES)),,-DALE_COORDINATES=DOUBLE)
-FFTW_LDFLAGS:=$(if $(subst 0,,$(FFTW)),-lfftw3,)
+FFTW_LDFLAGS:=$(if $(subst 0,,$(FFTW)),$(shell pkg-config --libs fftw3),)
OPTIMIZATION_CFLAGS:=-DOPTIMIZATIONS=$(OPTIMIZATIONS)
-
- CFLAGS:= $(POSIX_CFLAGS) $(DEBUG_CFLAGS) $(FFTW_CFLAGS) $(PRECISION_CFLAGS) \
+ STL_CFLAGS:=$(if $(subst GNU,,$(HASH_MAP)),,-DHASH_MAP_GNU)\
+ $(if $(subst STD,,$(HASH_MAP)),,-DHASH_MAP_STD)
+ CFLAGS:= $(POSIX_CFLAGS) $(DEBUG_CFLAGS) $(FFTW_CFLAGS) $(PRECISION_CFLAGS) $(STL_CFLAGS)\
- $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS),-Wall -O2) \
- $(OPTIMIZATION_CFLAGS) $(IOCTL_CFLAGS)
+ $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS)) \
OpenPOWER on IntegriCloud