diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-05-10 21:40:22 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-05-10 21:40:22 +0800 |
commit | f666dff82cc3a04e6e188fde341f9fccb77eca0b (patch) | |
tree | 1adac44d8321fd622e918f328516a67e7b087ec2 /x11-toolkits/wxgtk26/files/patch-configure | |
parent | 73a712eaabafc5bedc0042c413c9969524f0fc3e (diff) | |
download | marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar.gz marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar.bz2 marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar.lz marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar.xz marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.tar.zst marcuscom-ports-f666dff82cc3a04e6e188fde341f9fccb77eca0b.zip |
Add pangox-compat to fix the build of these.
Submitted by: Beeblebrox
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18439 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/wxgtk26/files/patch-configure')
-rw-r--r-- | x11-toolkits/wxgtk26/files/patch-configure | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk26/files/patch-configure b/x11-toolkits/wxgtk26/files/patch-configure new file mode 100644 index 000000000..b3cf594f3 --- /dev/null +++ b/x11-toolkits/wxgtk26/files/patch-configure @@ -0,0 +1,58 @@ +--- configure.orig Thu Jun 2 23:03:05 2005 ++++ configure Wed Aug 31 23:48:02 2005 +@@ -23409,6 +23409,7 @@ + + + SEARCH_INCLUDE="\ ++ $X11BASE/include \ + /usr/local/include \ + \ + /usr/Motif-2.1/include \ +@@ -34396,7 +34396,7 @@ + fi + ;; + *-*-freebsd*) +- THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r" ++ THREAD_OPTS="$PTHREAD_LIBS" + ;; + *-*-darwin* | *-*-cygwin* ) + THREAD_OPTS="" +@@ -34433,6 +34433,12 @@ + echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6 + ;; + ++ -pthread|-l*) ++ echo "$as_me:$LINENO: checking for the pthreads library $flag" >&5 ++echo $ECHO_N "checking for the pthreads library $flag... $ECHO_C" >&6 ++ THREADS_LINK="$flag" ++ ;; ++ + -*) + echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5 + echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6 +@@ -34515,7 +34521,7 @@ + { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5 + echo "$as_me: WARNING: No thread support on this system... disabled" >&2;} + else +- LDFLAGS="$THREADS_CFLAGS $LDFLAGS" ++ LDFLAGS="$THREADS_CFLAGS $THREADS_LINK $LDFLAGS" + LIBS="$THREADS_LINK $LIBS" + + echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5 +@@ -35701,6 +35707,7 @@ + fi + fi + fi ++TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} ${PTHREAD_CFLAGS}" + + if test "$WXGTK20" = 1 ; then + cat >>confdefs.h <<_ACEOF +@@ -35823,7 +35830,7 @@ + OPTIMISE="-O" + fi + fi +- ++OPTIMISE= + + if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then + cat >>confdefs.h <<\_ACEOF |