Hello,
I would like to build the php5-gd extension with two flavors applied at
the same time. (no_x11 and hardened). So here is what I did:
-----------------------------------------------------------------------
# uname -rmvsp
OpenBSD 4.0 GENERIC#1107 i386 Intel Pentium III ("GenuineIntel" 686-class,
128KB L2 cache)
# pwd
/usr/ports/www/php5/extensions
# make show=FLAVORS
no_x11 hardened no_bz2 no_curl no_dba no_dbase no_filepro no_gd no_gmp
no_imap no_ldap no_mbstring no_mcrypt no_mhash no_mysql no_mysqli
no_ncurses no_odbc no_pgsql no_shmop no_soap no_snmp no_sqlite
no_sybase_ct no_xmlrpc no_xsl
# make show=MULTI_PACKAGES
-bz2 -curl -dba -dbase -filepro -gd -gmp -imap -ldap -mbstring -mcrypt
-mhash -mysql -mysqli -ncurses -odbc -pgsql -shmop -soap -snmp -sqlite
-sybase_ct -xmlrpc -xsl
# env FLAVOR="no_x11 hardened" SUBPACKAGE="-gd" make
===> Verifying specs: bz2.>=10 curl.>=2 gdbm.>=2 jpeg.>=62 png.>=3 t1.>=5
gmp.>=4 c-client.>=3 ldap.>=2 lber mcrypt ltdl.>=1 mhash.>=2
lib/mysql/mysqlclient.>=10 lib/mysql/mysqlclient.>=10 iodbc.>=2 pq.>=2
netsnmp.>=6.2 sqlite.>=8 ct xslt.>=3 exslt iconv.>=4 intl.>=3 stdc++ m
crypto ssl z freetype z gssapi crypto krb5 ssl crypto ssl z
ncurses panel xml2 z iconv crypto iconv xml2 z iconv xml2 z
Missing library for freetype
Fatal error
*** Error code 1
Stop in /usr/ports/www/php5/extensions (line 1523 of
/usr/ports/infrastructure/mk/bsd.port.mk).
-------------------------------------------------------------------------
What am I doing wrong? This box does not have X11 installed and the rest
of the PHP environment is using the hardened flavor of the packages.
# pkg_info | grep php
php5-core-5.1.4p1-hardened server-side HTML-embedded scripting language
php5-curl-5.1.4-hardened curl URL library extensions for php5
php5-mbstring-5.1.4-hardened multibyte characters extensions for php5
php5-mysql-5.1.4-hardened mysql database access extensions for php5
php5-pgsql-5.1.4-hardened pgsql database access extensions for php5
Thanks for any info,
-Matt-