diff options
author | marino <marino@pkgsrc.org> | 2012-05-16 11:27:31 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-16 11:27:31 +0000 |
commit | 500d4e9999b371a838e69a4bd5721147cacefea8 (patch) | |
tree | 032c9d8d395fab5df0da73ffd030b7f78b24894c /emulators/dega | |
parent | 1fbb6d2ac7d67dba21720476072104c18bc206d9 (diff) | |
download | pkgsrc-500d4e9999b371a838e69a4bd5721147cacefea8.tar.gz |
emulators/dega: Fix indirect linking on DragonFly
Diffstat (limited to 'emulators/dega')
-rw-r--r-- | emulators/dega/Makefile | 4 | ||||
-rw-r--r-- | emulators/dega/distinfo | 3 | ||||
-rw-r--r-- | emulators/dega/patches/patch-Makefile | 14 |
3 files changed, 19 insertions, 2 deletions
diff --git a/emulators/dega/Makefile b/emulators/dega/Makefile index 57e6df4ee8d..a44ceb79d5a 100644 --- a/emulators/dega/Makefile +++ b/emulators/dega/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2010/07/06 10:17:12 jmmv Exp $ +# $NetBSD: Makefile,v 1.18 2012/05/16 11:27:31 marino Exp $ # DISTNAME= dega-1.07 @@ -22,6 +22,8 @@ ONLY_FOR_PLATFORM= *-*-i386 INSTALLATION_DIRS= bin +LDFLAGS.DragonFly= -lm + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dega ${DESTDIR}${PREFIX}/bin diff --git a/emulators/dega/distinfo b/emulators/dega/distinfo index f8ee2e6ca35..666032e0134 100644 --- a/emulators/dega/distinfo +++ b/emulators/dega/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2009/08/01 05:28:01 hasso Exp $ +$NetBSD: distinfo,v 1.5 2012/05/16 11:27:31 marino Exp $ SHA1 (dega-1.07.tar.gz) = 1401e5af566bc3e7658a4552940219688c082ce8 RMD160 (dega-1.07.tar.gz) = a20ad5d4ec47b3a8e65e64355557b6018a9dcfc4 Size (dega-1.07.tar.gz) = 85189 bytes +SHA1 (patch-Makefile) = 56ea5d81c07ec23f1466c9d8b1ddbfb6eb1a4e37 SHA1 (patch-aa) = 92f5e498320b751003f2efb79cafa5f7d96ab119 SHA1 (patch-ab) = ec9f112b62edfa24bb04d37679eb9a903e22e3d0 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 |