Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ftgl : pkg-info misses freetype2 #31006

Closed
avilleret opened this issue Jul 21, 2014 · 2 comments
Closed

ftgl : pkg-info misses freetype2 #31006

avilleret opened this issue Jul 21, 2014 · 2 comments

Comments

@avilleret
Copy link

pkg-config --cflags ftgl returns:

-I/usr/local/Cellar/ftgl/2.1.3-rc5/include -I/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL

but FTGL depends on freetype2 header (at least on ft2build.h included in FTGL/ftgl.h)

so FTGL CFLAGS should include freetype2 CFLAGS like pkg-config --cflags freetype2 returns :

-I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2

note that on my Ubuntu system, pkg-config --cflags ftgl returns:

-I/usr/include/FTGL -I/usr/include/freetype2  
@jacknagel
Copy link
Contributor

The freetype information is removed from the pc file by the formula

https://github.com/Homebrew/homebrew/blob/dc3953dd0c03ca88d8d3083021f335f03027f0b6/Library/Formula/ftgl.rb#L22-23

Since there is no explanation for this I'll probably delete it.

@avilleret
Copy link
Author

thanks for the quick fix !

aerickson pushed a commit to aerickson/homebrew that referenced this issue Aug 3, 2014
There is no explanation given for this and it breaks other software.

Fixes Homebrew#31006.
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants