pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/dega emulators/dega: Fix indirect linking on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32ebde722546
branches:  trunk
changeset: 603886:32ebde722546
user:      marino <marino%pkgsrc.org@localhost>
date:      Wed May 16 11:27:31 2012 +0000

description:
emulators/dega: Fix indirect linking on DragonFly

diffstat:

 emulators/dega/Makefile               |   4 +++-
 emulators/dega/distinfo               |   3 ++-
 emulators/dega/patches/patch-Makefile |  14 ++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r e9304296bd4d -r 32ebde722546 emulators/dega/Makefile
--- a/emulators/dega/Makefile   Wed May 16 10:18:28 2012 +0000
+++ b/emulators/dega/Makefile   Wed May 16 11:27:31 2012 +0000
@@ -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 @@
 
 INSTALLATION_DIRS=     bin
 
+LDFLAGS.DragonFly=     -lm
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/dega ${DESTDIR}${PREFIX}/bin
 
diff -r e9304296bd4d -r 32ebde722546 emulators/dega/distinfo
--- a/emulators/dega/distinfo   Wed May 16 10:18:28 2012 +0000
+++ b/emulators/dega/distinfo   Wed May 16 11:27:31 2012 +0000
@@ -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 -r e9304296bd4d -r 32ebde722546 emulators/dega/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dega/patches/patch-Makefile     Wed May 16 11:27:31 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index