summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-07 18:13:54 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-07 18:13:54 +0000
commit2dccaf7888e1227d0402debe473a8f6d1e1bf813 (patch)
tree4d43e4f24de8cbf35197019e7c225d1806bd6cf5
parent867d769554de5ecce438879d1f5036045463fb48 (diff)
downloadpkgsrc-2dccaf7888e1227d0402debe473a8f6d1e1bf813.tar.gz
Teach wxGTK about DragonFly.
-rw-r--r--x11/wxGTK/distinfo4
-rw-r--r--x11/wxGTK/patches/patch-aa50
2 files changed, 50 insertions, 4 deletions
diff --git a/x11/wxGTK/distinfo b/x11/wxGTK/distinfo
index 114a1ef1222..49006af34e4 100644
--- a/x11/wxGTK/distinfo
+++ b/x11/wxGTK/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.22 2005/10/04 01:47:32 minskim Exp $
+$NetBSD: distinfo,v 1.23 2005/11/07 18:13:54 joerg Exp $
SHA1 (wxGTK-2.6.2.tar.bz2) = ba953ecf9ee1c5be05d00f1f58523e2a5114e1a5
RMD160 (wxGTK-2.6.2.tar.bz2) = 53f3b61606037dc502e1185ab517b5ddc64a205c
Size (wxGTK-2.6.2.tar.bz2) = 7328807 bytes
-SHA1 (patch-aa) = 50ca53f98d0ae37566a8e6d46c889665e240a2f5
+SHA1 (patch-aa) = 3e6761aef80f7dcdd0a9d9ff42ae78bce9e4a14f
SHA1 (patch-ab) = 8f57d3169b363ef90c44fafb864589840b0eeafa
SHA1 (patch-ah) = c384584623b63004f59b4755ef32156f3d5687a0
diff --git a/x11/wxGTK/patches/patch-aa b/x11/wxGTK/patches/patch-aa
index 6ced39a8e39..48505e8f588 100644
--- a/x11/wxGTK/patches/patch-aa
+++ b/x11/wxGTK/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.7 2005/10/04 01:47:32 minskim Exp $
+$NetBSD: patch-aa,v 1.8 2005/11/07 18:13:54 joerg Exp $
---- configure.orig 2005-09-20 08:03:25.000000000 -0700
+--- configure.orig 2005-09-20 17:03:25.000000000 +0200
+++ configure
+@@ -1815,7 +1815,7 @@ _ACEOF
+
+ DEFAULT_DEFAULT_wxUSE_MOTIF=1
+ ;;
+- *-*-freebsd*)
++ *-*-freebsd* | *-*-dragonfly*)
+ USE_BSD=1
+ USE_FREEBSD=1
+ cat >>confdefs.h <<\_ACEOF
@@ -22529,7 +22529,8 @@ SEARCH_INCLUDE="\
/usr/XFree86/include/X11 \
/usr/pkg/include \
@@ -12,3 +21,40 @@ $NetBSD: patch-aa,v 1.7 2005/10/04 01:47:32 minskim Exp $
echo "$as_me:$LINENO: checking for libraries directory" >&5
echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
+@@ -35616,6 +35617,9 @@ echo "$as_me: WARNING: BeOS threads are
+ THREAD_OPTS="-mt $THREAD_OPTS"
+ fi
+ ;;
++ *-*-dragonfly*)
++ THREAD_OPTS="-pthread $THREAD_OPTS"
++ ;;
+ *-*-freebsd*)
+ THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
+ ;;
+@@ -35749,7 +35753,7 @@ echo $ECHO_N "checking if more special f
+ LDFLAGS="-L/usr/lib/threads $LDFLAGS"
+ flag="-D_THREAD_SAFE"
+ ;;
+- *-freebsd*)
++ *-freebsd*|*-*-dragonfly*)
+ flag="-D_THREAD_SAFE"
+ ;;
+ *-hp-hpux* )
+@@ -44116,7 +44120,7 @@ EOF
+ ;;
+
+ powerpc-apple-macos* | \
+- *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
++ *-*-dragonfly* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
+ *-*-sunos4* | \
+ *-*-osf* | \
+ *-*-dgux5* | \
+@@ -44158,7 +44162,7 @@ echo "$as_me: error: unknown system type
+ SONAME_FLAG=
+
+ case "${BAKEFILE_HOST}" in
+- *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
++ *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu | *-*-dragonfly*)
+ SONAME_FLAG="-Wl,-soname,"
+ USE_SOVERSION=1
+ USE_SOVERLINUX=1