From f8bd714f99023a195052a5518e309b8643ac662e Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 28 Mar 2006 20:11:34 +0000 Subject: Add DragonFly support. Add makedepend as tool. Fix typo also affecting FreeBSD. --- 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(-) create mode 100644 emulators/aranym/patches/patch-aa create mode 100644 emulators/aranym/patches/patch-ab (limited to 'emulators/aranym') diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile index 1bd04f5adce..f1f9a2774ae 100644 --- a/emulators/aranym/Makefile +++ b/emulators/aranym/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ CONFIGURE_ARGS+= --enable-blitmemmove .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} != "NetBSD" +.if ${OPSYS} != "NetBSD" && ${OPSYS} != "DragonFly" CONFIGURE_ARGS+= --enable-nfpci .endif diff --git a/emulators/aranym/distinfo b/emulators/aranym/distinfo index e1cc0ba5c6d..104b4ef8c53 100644 --- a/emulators/aranym/distinfo +++ b/emulators/aranym/distinfo @@ -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 --git a/emulators/aranym/patches/patch-aa b/emulators/aranym/patches/patch-aa new file mode 100644 index 00000000000..053eddd4f17 --- /dev/null +++ b/emulators/aranym/patches/patch-aa @@ -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 --git a/emulators/aranym/patches/patch-ab b/emulators/aranym/patches/patch-ab new file mode 100644 index 00000000000..25d16347a47 --- /dev/null +++ b/emulators/aranym/patches/patch-ab @@ -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. -- cgit v1.2.3