Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Freetype + FreeBSD HOWTO

Discussion in 'General Discussion' started by ice53ltd, Oct 10, 2003.

  1. ice53ltd

    ice53ltd Member

    Sep 12, 2002
    Likes Received:
    Trophy Points:
    I've noticed the buildscript for Freetype isn't set correctly when Freetype is installed from ports on FreeBSD (/usr/ports/print/freetype2).

    Make sure you select option 6 in easy apache and enable FreeType under PHP.

    Then You have to edit the file /home/cpapachebuild/buildapache/buildscript

    Locate the lines:
    if [ -e "/usr/include/freetype2" ]; then
    ttfopts="--with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf"

    And replace with:
    if [ -e "/usr/local/include/freetype2" ]; then
    ttfopts="--with-ttf --with-freetype-dir=/usr/local --enable-gd-native-ttf"

    Voila. Support Ticket Number:

Share This Page