[114140] trunk/dports/science/gr-fosphor
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 30 02:18:30 PST 2013
Revision: 114140
https://trac.macports.org/changeset/114140
Author: ryandesign at macports.org
Date: 2013-11-30 02:18:29 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
gr-fosphor: fix build with freetype 2.5.1 (#41612)
Modified Paths:
--------------
trunk/dports/science/gr-fosphor/Portfile
Added Paths:
-----------
trunk/dports/science/gr-fosphor/files/
trunk/dports/science/gr-fosphor/files/patch-freetype-2.5.1.diff
Modified: trunk/dports/science/gr-fosphor/Portfile
===================================================================
--- trunk/dports/science/gr-fosphor/Portfile 2013-11-30 10:14:48 UTC (rev 114139)
+++ trunk/dports/science/gr-fosphor/Portfile 2013-11-30 10:18:29 UTC (rev 114140)
@@ -40,6 +40,8 @@
port:pkgconfig \
port:doxygen
+patchfiles patch-freetype-2.5.1.diff
+
# do VPATH build
set vpath ${workpath}/build
Added: trunk/dports/science/gr-fosphor/files/patch-freetype-2.5.1.diff
===================================================================
--- trunk/dports/science/gr-fosphor/files/patch-freetype-2.5.1.diff (rev 0)
+++ trunk/dports/science/gr-fosphor/files/patch-freetype-2.5.1.diff 2013-11-30 10:18:29 UTC (rev 114140)
@@ -0,0 +1,23 @@
+Fix build with freetype 2.5.1.
+--- cmake/Modules/FindFreetype2.cmake.orig 2013-11-30 03:20:03.000000000 -0600
++++ cmake/Modules/FindFreetype2.cmake 2013-11-30 03:54:51.000000000 -0600
+@@ -1,18 +1,14 @@
+ if(NOT FREETYPE2_FOUND)
+ INCLUDE(FindPkgConfig)
+ pkg_check_modules (FREETYPE2_PKG freetype2)
+- find_path(FREETYPE2_INCLUDE_DIRS NAMES freetype/freetype.h
++ find_path(FREETYPE2_INCLUDE_DIRS NAMES ft2build.h
+ PATHS
+ ${FREETYPE2_PKG_INCLUDE_DIRS}
+- /usr/include/freetype2
+- /usr/local/include/freetype2
+ )
+
+ find_library(FREETYPE2_LIBRARIES NAMES freetype
+ PATHS
+ ${FREETYPE2_PKG_LIBRARY_DIRS}
+- /usr/lib
+- /usr/local/lib
+ )
+
+ if(FREETYPE2_INCLUDE_DIRS AND FREETYPE2_LIBRARIES)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/30645c82/attachment.html>
More information about the macports-changes
mailing list