diff options
author | hasso <hasso@pkgsrc.org> | 2009-06-02 18:39:20 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-06-02 18:39:20 +0000 |
commit | 32b28271c7121fabb51dd4907b84677a5ee7de4f (patch) | |
tree | 9ccfa0eda4b870b5ca760a5772124d7153d132a5 /lang/pnet | |
parent | e53b96ac672772c516fd01bdf6701668c266ddc2 (diff) | |
download | pkgsrc-32b28271c7121fabb51dd4907b84677a5ee7de4f.tar.gz |
Make it build on DragonFly. Probably incomplete, but at least hello world
compiles and runs.
Diffstat (limited to 'lang/pnet')
-rw-r--r-- | lang/pnet/distinfo | 4 | ||||
-rw-r--r-- | lang/pnet/patches/patch-aa | 21 | ||||
-rw-r--r-- | lang/pnet/patches/patch-ab | 19 |
3 files changed, 43 insertions, 1 deletions
diff --git a/lang/pnet/distinfo b/lang/pnet/distinfo index 4932c7a5498..eece2de79eb 100644 --- a/lang/pnet/distinfo +++ b/lang/pnet/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.7 2008/02/18 16:39:43 xtraeme Exp $ +$NetBSD: distinfo,v 1.8 2009/06/02 18:39:20 hasso Exp $ SHA1 (pnet-0.8.0.tar.gz) = 3d048cbef0476f21cbdd86f81c1706f52b7a7218 RMD160 (pnet-0.8.0.tar.gz) = 232f96fb92be2cab4109ab03845bafa84c3d0259 Size (pnet-0.8.0.tar.gz) = 4510420 bytes +SHA1 (patch-aa) = a25d25c0b4a1998fa930e7cddc4537beb016be5b +SHA1 (patch-ab) = 2df077f95643791d32cff2e4a82b0bc5cd67a01b diff --git a/lang/pnet/patches/patch-aa b/lang/pnet/patches/patch-aa new file mode 100644 index 00000000000..aeb7b978573 --- /dev/null +++ b/lang/pnet/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.4 2009/06/02 18:39:20 hasso Exp $ + +--- libffi/configure.orig 2009-06-02 16:37:36 +0300 ++++ libffi/configure 2009-06-02 16:38:41 +0300 +@@ -20700,6 +20700,7 @@ i*86-*-solaris2.1[0-9]*) TARGET=X86_64; + i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; + i*86-*-beos*) TARGET=X86; TARGETDIR=x86;; + i*86-*-freebsd* | i*86-*-kfreebsd*-gnu) TARGET=X86; TARGETDIR=x86;; ++i*86-*-dragonfly*) TARGET=X86; TARGETDIR=x86;; + i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;; + i*86-*-rtems*) TARGET=X86; TARGETDIR=x86;; + i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;; +@@ -20731,7 +20732,7 @@ arm*-*-rtems*) TARGET=ARM; TARGETDIR=arm + cris-*-*) TARGET=LIBFFI_CRIS; TARGETDIR=cris;; + s390-*-linux-*) TARGET=S390; TARGETDIR=s390;; + s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;; +-x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;; ++x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu | x86_64-*-dragonfly*) TARGET=X86_64; TARGETDIR=x86;; + sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; + sh-*-rtems*) TARGET=SH; TARGETDIR=sh;; + sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;; diff --git a/lang/pnet/patches/patch-ab b/lang/pnet/patches/patch-ab new file mode 100644 index 00000000000..be3c298e27b --- /dev/null +++ b/lang/pnet/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.3 2009/06/02 18:39:20 hasso Exp $ + +--- libgc/configure.orig 2009-06-02 16:41:38 +0300 ++++ libgc/configure 2009-06-02 16:43:54 +0300 +@@ -4754,6 +4754,14 @@ _ACEOF + INCLUDES="$INCLUDES -pthread" + THREADDLLIBS=-pthread + ;; ++ *-*-dragonfly*) ++ cat >>confdefs.h <<\_ACEOF ++#define GC_FREEBSD_THREADS 1 ++_ACEOF ++ ++ INCLUDES="$INCLUDES -pthread" ++ THREADDLLIBS=-pthread ++ ;; + *-*-kfreebsd*-gnu) + cat >>confdefs.h <<\_ACEOF + #define GC_FREEBSD_THREADS 1 |