diff options
author | joerg <joerg> | 2006-01-11 18:35:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-11 18:35:19 +0000 |
commit | 73efdd1fccf6d2cd6e61b6287889297ad0e10a14 (patch) | |
tree | 0d7b0a5cec1043da1ef708fc34f234ce3550de8a /lang | |
parent | 69048ec7d5aa235f98e762bef418da8d68d846d0 (diff) | |
download | pkgsrc-73efdd1fccf6d2cd6e61b6287889297ad0e10a14.tar.gz |
Add DragonFly support.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/yap/distinfo | 5 | ||||
-rw-r--r-- | lang/yap/patches/patch-aa | 22 | ||||
-rw-r--r-- | lang/yap/patches/patch-ab | 22 | ||||
-rw-r--r-- | lang/yap/patches/patch-ac | 13 |
4 files changed, 61 insertions, 1 deletions
diff --git a/lang/yap/distinfo b/lang/yap/distinfo index c5d82039442..99c1e62970c 100644 --- a/lang/yap/distinfo +++ b/lang/yap/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.4 2005/11/04 17:41:59 rillig Exp $ +$NetBSD: distinfo,v 1.5 2006/01/11 18:35:19 joerg Exp $ SHA1 (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = 56c6ddc976208f66f49c59f2a6787590d1512732 RMD160 (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = e63d5ecf66dda0fced26afe9dc9afb892a02762b Size (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = 3102749 bytes +SHA1 (patch-aa) = dca2acac805aabd8e2815b509ad516294484ad0f +SHA1 (patch-ab) = fc4e742886129fac5cbb2195e8aec072c7a3e9ac +SHA1 (patch-ac) = 4ebf6b8c6c7a9d4cecd2d0d59ee708168c4de60a diff --git a/lang/yap/patches/patch-aa b/lang/yap/patches/patch-aa new file mode 100644 index 00000000000..0afab34a1a8 --- /dev/null +++ b/lang/yap/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2006/01/11 18:35:19 joerg Exp $ + +--- C/sysbits.c.orig 2006-01-11 18:05:52.000000000 +0000 ++++ C/sysbits.c +@@ -195,7 +195,7 @@ InitPageSize(void) + GetSystemInfo(&si); + Yap_page_size = si.dwPageSize; + #elif HAVE_UNISTD_H +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + Yap_page_size = getpagesize(); + #elif defined(_AIX) + Yap_page_size = sysconf(_SC_PAGE_SIZE); +@@ -416,7 +416,7 @@ void Yap_cputime_interval(Int *now,Int * + #define TicksPerSec CLK_TCK + #endif + +-#if defined(__alpha) || defined(__FreeBSD__) || defined(__linux__) ++#if defined(__alpha) || defined(__FreeBSD__) || defined(__linux__) || defined(__DragonFly__) + + #if HAVE_TIME_H + #include <time.h> diff --git a/lang/yap/patches/patch-ab b/lang/yap/patches/patch-ab new file mode 100644 index 00000000000..a0696dd7bf6 --- /dev/null +++ b/lang/yap/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2006/01/11 18:35:19 joerg Exp $ + +--- H/Yap.h.orig 2006-01-11 18:06:46.000000000 +0000 ++++ H/Yap.h +@@ -237,7 +237,7 @@ extern char Yap_Option[20]; + #endif + + #if !IN_SECOND_QUADRANT +-#if __linux__ || __FreeBSD__ || __NetBSD__ || mips || __APPLE__ ++#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(mips) || defined(__APPLE__) || defined(__DragonFly__) + #if defined(YAPOR) && defined(__alpha) + + #define MMAP_ADDR 0x40000000 +@@ -641,7 +641,7 @@ typedef enum + if you place things in the lower addresses (power to the libc people). + */ + +-#if (defined(_AIX) || defined(_WIN32) || defined(__APPLE__) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__)) ++#if (defined(_AIX) || defined(_WIN32) || defined(__APPLE__) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__)) + #define USE_LOW32_TAGS 1 + #endif + diff --git a/lang/yap/patches/patch-ac b/lang/yap/patches/patch-ac new file mode 100644 index 00000000000..b5a3f15ef39 --- /dev/null +++ b/lang/yap/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/01/11 18:35:19 joerg Exp $ + +--- configure.orig 2006-01-11 18:15:45.000000000 +0000 ++++ configure +@@ -6058,7 +6058,7 @@ fi + INSTALL_DLLS="" + CC="cc -no-cpp-precomp" + ;; +- *netbsd*|*freebsd*) ++ *netbsd*|*freebsd*|*dragonfly*) + if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__ + then + #an a.out system |