aboutsummaryrefslogtreecommitdiff
path: root/graphics/php5-ming
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-12-18 18:59:33 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-12-18 18:59:33 +0000
commita60f9e1826309be69767cb346b77c315369a94db (patch)
treeea8bea817f7818fe337b58c137d64c257dbbd698 /graphics/php5-ming
parent78885c5ac063b518d1d3ed2aa5203115aca6bfb0 (diff)
downloadports-a60f9e1826309be69767cb346b77c315369a94db.tar.gz
ports-a60f9e1826309be69767cb346b77c315369a94db.zip
Fix build.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=151509
Diffstat (limited to 'graphics/php5-ming')
-rw-r--r--graphics/php5-ming/files/patch-config.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/php5-ming/files/patch-config.m4 b/graphics/php5-ming/files/patch-config.m4
new file mode 100644
index 000000000000..038c71917dbb
--- /dev/null
+++ b/graphics/php5-ming/files/patch-config.m4
@@ -0,0 +1,16 @@
+--- config.m4.orig Sun Dec 18 19:56:10 2005
++++ config.m4 Sun Dec 18 19:57:15 2005
+@@ -72,13 +72,6 @@
+ AC_DEFINE(HAVE_NEW_MING, 1, [ ])
+ dnl FIXME: This is now unconditional..better check coming later.
+ AC_DEFINE(HAVE_MING_ZLIB, 1, [ ])
+- AC_TRY_COMPILE([
+-#include <ming.h>
+-int main(int,void) {
+- SWFMovie_output(NULL, NULL, NULL, 0));
+- return 0;
+-}
+- ], [ AC_DEFINE(HAVE_MING_MOVIE_LEVEL, 1, []) ])
+ ])
+ CPPFLAGS=$old_CPPFLAGS
+