[96127] trunk/dports/graphics/enblend/files/patch-configure.in.diff
raphael at macports.org
raphael at macports.org
Wed Aug 1 10:21:14 PDT 2012
Revision: 96127
https://trac.macports.org/changeset/96127
Author: raphael at macports.org
Date: 2012-08-01 10:21:11 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
enblend: fix build with multi-threaded boost libraries; closes #35140; maintainer
Modified Paths:
--------------
trunk/dports/graphics/enblend/files/patch-configure.in.diff
Modified: trunk/dports/graphics/enblend/files/patch-configure.in.diff
===================================================================
--- trunk/dports/graphics/enblend/files/patch-configure.in.diff 2012-08-01 16:35:20 UTC (rev 96126)
+++ trunk/dports/graphics/enblend/files/patch-configure.in.diff 2012-08-01 17:21:11 UTC (rev 96127)
@@ -1,6 +1,24 @@
---- configure.in.orig 2012-07-31 16:33:15.000000000 +0200
-+++ configure.in 2012-07-31 16:41:48.000000000 +0200
-@@ -214,7 +214,7 @@
+--- configure.in.orig 2012-08-01 18:12:30.000000000 +0200
++++ configure.in 2012-08-01 18:13:35.000000000 +0200
+@@ -140,6 +140,8 @@
+ no_gpu_reason=", because it was disabled"
+ fi
+
++AX_PTHREAD
++
+ # Memory allocation debug support
+ AC_MSG_CHECKING([if malloc debugging is wanted])
+ AC_ARG_WITH(dmalloc,
+@@ -149,7 +151,7 @@
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(WITH_DMALLOC, 1,
+ [Define if using the dmalloc debugging malloc package])
+- if test x$acx_pthread_ok = xyes; then
++ if test x$ax_pthread_ok = xyes; then
+ LIBS="$LIBS -ldmallocthcxx"
+ enable_dmalloc="yes (thread aware)"
+ else
+@@ -214,14 +216,14 @@
[AC_MSG_NOTICE([forcing use of Boost "filesystem" library])
AC_DEFINE(HAVE_BOOST_FILESYSTEM, 1,
[Define if you have boost/filesystem.hpp])
@@ -9,8 +27,16 @@
[AC_CHECK_HEADER(boost/filesystem.hpp,
[],
AC_MSG_NOTICE([Boost "filesystem" header is missing.]))
-@@ -231,20 +231,21 @@
+ if test x$ac_cv_header_boost_filesystem_hpp = xyes; then
+ found_boost_filesystem_lib=no
+ candidates="-lboost_filesystem"
+- if test x$acx_pthread_ok = xyes; then
++ if test x$ax_pthread_ok = xyes; then
+ candidates="-lboost_filesystem-mt $candidates"
fi
+ if test "x$with_boost_filesystem" != xCHECK \
+@@ -231,20 +233,21 @@
+ fi
LIBS_ORIG=$LIBS
for x in $candidates; do
- LIBS="$LIBS_ORIG $x"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/4da30009/attachment-0001.html>
More information about the macports-changes
mailing list