summaryrefslogtreecommitdiff
path: root/emulators/dega/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-16 11:27:31 +0000
committermarino <marino@pkgsrc.org>2012-05-16 11:27:31 +0000
commit500d4e9999b371a838e69a4bd5721147cacefea8 (patch)
tree032c9d8d395fab5df0da73ffd030b7f78b24894c /emulators/dega/patches
parent1fbb6d2ac7d67dba21720476072104c18bc206d9 (diff)
downloadpkgsrc-500d4e9999b371a838e69a4bd5721147cacefea8.tar.gz
emulators/dega: Fix indirect linking on DragonFly
Diffstat (limited to 'emulators/dega/patches')
-rw-r--r--emulators/dega/patches/patch-Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/dega/patches/patch-Makefile b/emulators/dega/patches/patch-Makefile
new file mode 100644
index 00000000000..de06751b694
--- /dev/null
+++ b/emulators/dega/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2012/05/16 11:27:31 marino Exp $
+
+--- Makefile.orig 2001-12-19 23:51:14.000000000 +0000
++++ Makefile
+@@ -18,7 +18,8 @@ SDLOBJ = sdl/main.o
+ all: dega
+
+ dega: $(SDLOBJ) $(DOZEOBJ) $(MASTOBJ)
+- $(CC) -o dega sdl/main.o $(DOZEOBJ) $(MASTOBJ) $(shell sdl-config --libs)
++ $(CC) -o dega sdl/main.o $(DOZEOBJ) $(MASTOBJ) \
++ $(shell sdl-config --libs) $(LDFLAGS)
+
+ doze/dozea.o: doze/dozea.asm
+ nasm -f elf doze/dozea.asm