summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-04-13 19:06:13 +0000
committerdholland <dholland@pkgsrc.org>2013-04-13 19:06:13 +0000
commit70989097a4567eb972e19d0e86b86ecd8fde2e06 (patch)
treefbfd198b4895dd1db66cb2a5d3f8ace8050e1991 /emulators
parent3ecb0106d51847180cf2d853725224238c43ef77 (diff)
downloadpkgsrc-70989097a4567eb972e19d0e86b86ecd8fde2e06.tar.gz
Reduce pkglint.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Cygne-SDL/patches/patch-aa23
1 files changed, 14 insertions, 9 deletions
diff --git a/emulators/Cygne-SDL/patches/patch-aa b/emulators/Cygne-SDL/patches/patch-aa
index f16974016bf..841e7a6647d 100644
--- a/emulators/Cygne-SDL/patches/patch-aa
+++ b/emulators/Cygne-SDL/patches/patch-aa
@@ -1,26 +1,31 @@
-$NetBSD: patch-aa,v 1.3 2005/11/03 21:38:04 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2013/04/13 19:06:13 dholland Exp $
---- src/Makefiles/Makefile.unix.orig 2002-03-26 17:50:55.000000000 +0100
+- configure for pkgsrc
+- avoid unnecessary gmake syntax
+
+--- src/Makefiles/Makefile.unix.orig 2002-03-26 16:50:55.000000000 +0000
+++ src/Makefiles/Makefile.unix
-@@ -1,5 +1,4 @@
+@@ -1,24 +1,15 @@
-CC = gcc
-LD = gcc
+#LD = g++
NASM = nasm
### Include and lib stuff ####
-@@ -8,17 +7,13 @@ STDLIB = /usr/lib
- SDLINCLUDE = /usr/local/include/SDL
- SDLLIB = /usr/local/lib
-
+-STDINCLUDE = /usr/include
+-STDLIB = /usr/lib
+-SDLINCLUDE = /usr/local/include/SDL
+-SDLLIB = /usr/local/lib
+-
-CFLAGS = -O1 -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__ -fomit-frame-pointer -march=pentium \
- -mpentium -finline-functions -fexpensive-optimizations -funroll-loops -funroll-all-loops -pipe \
- -fschedule-insns2 -fstrength-reduce -malign-double -mfancy-math-387 -ffast-math -fforce-addr \
- -fforce-mem `sdl-config --cflags` \
- -L$(STDLIB) -L$(SDLLIB) -I$(STDINCLUDE) -I$(SDLINCLUDE)
-+CFLAGS += -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__
-LDFLAGS = $(CFLAGS)
++CFLAGS += -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__
++
+LDFLAGS += `sdl-config --libs`
TARGET = cygne
@@ -30,7 +35,7 @@ $NetBSD: patch-aa,v 1.3 2005/11/03 21:38:04 rillig Exp $
LIBS = `sdl-config --libs` -lz
-@@ -28,17 +23,22 @@ INCS = -I. `sdl-config --cflags`
+@@ -28,17 +19,22 @@ INCS = -I. `sdl-config --cflags`
THECC = $(CC) $(CFLAGS) $(INCS)