mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
Remove patch to add -I/usr/local/include in freetype-config --cflags. If ports need extra headers they should look for them, and not get them via a side-effect. Freetype had a header resuffle in 2.5.1, patch ports to use the new header style. Thanks go to bdrewery for the two exp-runs and rakuco for helping me with some troublesome cmake ports. PR: ports/184587
20 lines
658 B
Text
20 lines
658 B
Text
--- config.m4.orig 2013-12-10 20:04:57.000000000 +0100
|
|
+++ config.m4 2013-12-24 21:07:17.000000000 +0100
|
|
@@ -162,7 +162,7 @@
|
|
if test "$PHP_FREETYPE_DIR" != "no"; then
|
|
|
|
for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
|
- if test -f "$i/include/freetype2/freetype/freetype.h"; then
|
|
+ if test -f "$i/include/freetype2/freetype.h"; then
|
|
FREETYPE2_DIR=$i
|
|
FREETYPE2_INC_DIR=$i/include/freetype2
|
|
break
|
|
@@ -210,7 +210,7 @@
|
|
],[
|
|
AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.])
|
|
],[
|
|
- -L$GD_T1_DIR/$PHP_LIBDIR
|
|
+ -L$GD_T1_DIR/$PHP_LIBDIR -lm
|
|
])
|
|
fi
|
|
])
|