Revision
102473
Author
larryv@macports.org
Date
2013-02-03 23:20:56 -0800 (Sun, 03 Feb 2013)

Log Message

pcre: Avoid unnecessary -pthread flag (#37916).

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/pcre/Portfile (102472 => 102473)


--- trunk/dports/devel/pcre/Portfile	2013-02-04 04:27:15 UTC (rev 102472)
+++ trunk/dports/devel/pcre/Portfile	2013-02-04 07:20:56 UTC (rev 102473)
@@ -28,6 +28,8 @@
 checksums           rmd160  d0c2d10fac843089116e5e2ae88fea4fa0a0be21 \
                     sha256  a913fb9bd058ef380a2d91847c3c23fcf98e92dc3b47cd08a53c021c5cde0f55
 
+patchfiles          configure.diff
+
 depends_lib         port:zlib \
                     port:bzip2 \
                     port:libedit

Added: trunk/dports/devel/pcre/files/configure.diff (0 => 102473)


--- trunk/dports/devel/pcre/files/configure.diff	                        (rev 0)
+++ trunk/dports/devel/pcre/files/configure.diff	2013-02-04 07:20:56 UTC (rev 102473)
@@ -0,0 +1,12 @@
+--- configure.orig	2012-11-30 04:13:42.000000000 -0500
++++ configure	2013-02-04 01:29:07.000000000 -0500
+@@ -17578,9 +17578,6 @@
+         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
+         ;;
+ 
+-        darwin*)
+-        ax_pthread_flags="-pthread $ax_pthread_flags"
+-        ;;
+ esac
+ 
+ if test x"$ax_pthread_ok" = xno; then