php compile flags - resolved
Eliot Earle
sfromley at ntlworld.com
Wed Aug 24 12:34:17 GMT 2005
Gavin McDougall wrote:
> Gavin McDougall wrote:
>
>> Hi there,
>>
>> I am tryinh to install php from the ports collection but I need to
>> specify quite a large set of compile flags. ie: --with-libxml
>> --with-bz2 etc.
>>
>> I have looked in the Handbook, I have gooogled, I even tried using the
>> -d option with make but still no luck.
>>
>> I can always download the php tarball and do it the traditional way
>> but before I do that I just want to know if it is possible to do it
>> using the ports collection.
>
>
>
> Not to worry. I discovered /usr/ports/lang/php4-extensions and I was
> looking in /usr/ports/www/mod_php4
>
> Strange how that works.
>
> Cheers,
> Gavin
If you use portupgrade/portinstall you can put all those tags into
/usr/local/etc/pkgtools.conf and have them remembered evry time you
recompile it.
eg:
spadge at tobermory$ grep "lang/php4" /usr/local/etc/pkgtools.conf
'lang/php4' => 'BATCH=YES WITH_GD=YES WITH_ZLIB=YES
WITH_BZIP2=YES WITH_MCRYPT=YES WITH_MHASH=YES WITH_PDFLIB=YES
WITH_IMAP=YES WITH_OPENSSL=YES WITH_MYSQL=YES WITH_SQLITE=YES
WITH_XML=YES WITH_XMLRPC=YES WITH_XSLT=YES WITH_WDDX=YES WITH_DOMXML=YES
WITH_FTP=YES WITH_CURL=YES WITH_GETTEXT=YES WITH_ICONV=YES
WITH_PSPELL=YES WITH_MIME=YES WITH_MBSTRING=YES WITH_YP=YES
WITH_BCMATH=YES WITH_HYPERWAVE=YES WITH_MCVE=YES WITH_MING=YES
WITH_MCAL=YES WITH_SOCKETS=YES WITH_SYSVSEM=YES WITH_SYSVSHM=YES
WITH_OPENLDAP=YES WITH_CALENDAR=YES WITH_SESSION=YES WITH_ZIP=YES
WITH_DOMXSLT=YES WITH_CTYPE=YES WITH_PCRE=YES WITH_POSIX=YES
WITH_TOKENIZER=YES',
spadge at tobermory$ where portupgrade
portupgrade-20041226_7 is in sysutils/portupgrade
Have fun.
--
Eliot
'intocabile'
www.fromley.com
More information about the freebsd-ports
mailing list