pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/aranym Add DragonFly support. Add makedepend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80d7864bafb4
branches:  trunk
changeset: 510141:80d7864bafb4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 28 20:11:34 2006 +0000

description:
Add DragonFly support. Add makedepend as tool. Fix typo also affecting
FreeBSD.

diffstat:

 emulators/aranym/Makefile         |   6 +++---
 emulators/aranym/distinfo         |   4 +++-
 emulators/aranym/patches/patch-aa |  30 ++++++++++++++++++++++++++++++
 emulators/aranym/patches/patch-ab |  13 +++++++++++++
 4 files changed, 49 insertions(+), 4 deletions(-)

diffs (90 lines):

diff -r 56c790c85afc -r 80d7864bafb4 emulators/aranym/Makefile
--- a/emulators/aranym/Makefile Tue Mar 28 20:09:48 2006 +0000
+++ b/emulators/aranym/Makefile Tue Mar 28 20:11:34 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:34 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/03/28 20:11:34 joerg Exp $
 #
 
 DISTNAME=              aranym-0.8.9beta
@@ -10,7 +10,7 @@
 HOMEPAGE=              http://aranym.sourceforge.net/
 COMMENT=               Atari Running on Any Machine
 
-USE_TOOLS+=            gmake
+USE_TOOLS+=            gmake makedepend
 USE_LANGUAGES=         c c++
 GNU_CONFIGURE=         yes
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src/Unix
@@ -32,7 +32,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} != "NetBSD"
+.if ${OPSYS} != "NetBSD" && ${OPSYS} != "DragonFly"
 CONFIGURE_ARGS+=       --enable-nfpci
 .endif
 
diff -r 56c790c85afc -r 80d7864bafb4 emulators/aranym/distinfo
--- a/emulators/aranym/distinfo Tue Mar 28 20:09:48 2006 +0000
+++ b/emulators/aranym/distinfo Tue Mar 28 20:11:34 2006 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 18:49:17 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/03/28 20:11:34 joerg Exp $
 
 SHA1 (aranym-0.8.9beta.tar.gz) = 509ad0e79c53ace176a8acef2fb2a4f23fa87d69
 RMD160 (aranym-0.8.9beta.tar.gz) = b0b994d672f6be530e6d2f4baa0327a690972f26
 Size (aranym-0.8.9beta.tar.gz) = 1246180 bytes
+SHA1 (patch-aa) = fbb3606d92d1a30086ec3576aeb5f0f9f2d58221
+SHA1 (patch-ab) = 5d0120517eb94c0ff5fef3043b465b46fc23a0b6
diff -r 56c790c85afc -r 80d7864bafb4 emulators/aranym/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aranym/patches/patch-aa Tue Mar 28 20:11:34 2006 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.3 2006/03/28 20:11:34 joerg Exp $
+
+--- configure.orig     2006-03-28 17:40:31.000000000 +0000
++++ configure
+@@ -1776,6 +1776,7 @@ case "$target_os" in
+   openbsd*)   OS_TYPE=openbsd;;
+   netbsd*)    OS_TYPE=netbsd;;
+   freebsd*)   OS_TYPE=freebsd;;
++  dragonfly*) OS_TYPE=freebsd;;
+   solaris*)   OS_TYPE=solaris;;
+   darwin*)    OS_TYPE=darwin;;
+   cygwin*)    OS_TYPE=cygwin;;
+@@ -10469,7 +10470,7 @@ _ACEOF
+   irix*)
+     EXTRASYSSRCS="parameters_unix.cpp irix/unaligned.c"
+     ;;
+-  freebsd*)
++  freebsd* | dragonfly*)
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_O_FSYNC 1
+@@ -11925,7 +11926,7 @@ echo "$as_me: error: Sorry, extended seg
+    { (exit 1); exit 1; }; }
+       fi
+       ;;
+-    freebsd*)
++    freebsd* | dragonfly*)
+       if [ "x$HAVE_I386" = "xyes" ]; then
+         SYSSRCS="$SYSSRCS xbsd/sigsegv_xbsd.cpp"
+       else
diff -r 56c790c85afc -r 80d7864bafb4 emulators/aranym/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aranym/patches/patch-ab Tue Mar 28 20:11:34 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/03/28 20:11:34 joerg Exp $
+
+--- ../cdrom.cpp.orig  2006-03-28 18:18:45.000000000 +0000
++++ ../cdrom.cpp
+@@ -82,7 +82,7 @@ extern "C" {
+ #include "cdrom_beos.h"
+ #define BX_CD_FRAMESIZE 2048
+ 
+-#elif (defined (OS_netbsd) || defined(OS_openbsd) || defined(OS__freebsd))
++#elif (defined (OS_netbsd) || defined(OS_openbsd) || defined(OS_freebsd))
+ // OpenBSD pre version 2.7 may require extern "C" { } structure around
+ // all the includes, because the i386 sys/disklabel.h contains code which 
+ // c++ considers invalid.



Home | Main Index | Thread Index | Old Index