mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Fix pkg-config script for freetype.
* We may want to make fixPkgconfig smarter...
This commit is contained in:
@@ -9,7 +9,7 @@ LICENSE="FreeType"
|
||||
COPYRIGHT="1996-2013 David Turner, Robert Wilhelm, Werner Lemberg, et al."
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/freetype/freetype-2.5.2.tar.bz2"
|
||||
CHECKSUM_MD5="10e8f4d6a019b124088d18bc26123a25"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
@@ -54,6 +54,12 @@ INSTALL()
|
||||
prepareInstalledDevelLibs libfreetype
|
||||
fixPkgconfig
|
||||
|
||||
# Freetype headers are in a freetype2 subdirectory, but fixPkgconfig removes
|
||||
# that from the pkg-config file, making it difficult for other ports to use
|
||||
# freetype with pkg-config.
|
||||
sed -i -e "s,^includedir=.*,includedir=$prefix/$relativeIncludeDir/freetype2," \
|
||||
$developLibDir/pkgconfig/freetype2.pc
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir \
|
||||
|
||||
Reference in New Issue
Block a user