ports/graphics/php5-swfed/files/patch-config-lib.m4
TAKATSU Tomonari 70cdfb522d - Add a new port: graphics/php5-swfed
SWF Editor is an extension for PHP that edits contents in SWF file.

  WWW:	http://sourceforge.jp/projects/swfed/
2010-12-31 16:54:30 +00:00

20 lines
655 B
Text

--- config-lib.m4.orig 2010-04-20 10:09:36.000000000 +0900
+++ config-lib.m4 2010-06-13 13:01:53.000000000 +0900
@@ -70,7 +70,7 @@
else
AC_MSG_ERROR([Can't find LIBPNG headers under "$PHP_PNG_DIR"])
fi
- else
+ elif test "$PHP_PNG_DIR" = "yes"; then
for i in /usr/local /usr; do
if test -f "$i/include/libpng/png.h"; then
AC_DEFINE(HAVE_PNG,1,[ ])
@@ -115,7 +115,7 @@
else
AC_MSG_ERROR([Can't find GIFLIB headers under "$PHP_GIF_DIR"])
fi
- else
+ elif test "$PHP_GIF_DIR" = "yes"; then
for i in /usr/local /usr; do
if test -f "$i/include/giflib/gif_lib.h"; then
AC_DEFINE(HAVE_GIF,1,[ ])