Date: Wed, 24 Aug 2005 13:32:19 +0100 From: Eliot Earle <sfromley@ntlworld.com> To: Gavin McDougall <lists@mediamill.co.za> Cc: freebsd-ports@freebsd.org Subject: Re: php compile flags - resolved Message-ID: <430C68D3.30501@ntlworld.com> In-Reply-To: <430C370A.3000505@mediamill.co.za> References: <430C1B37.8080401@mediamill.co.za> <430C370A.3000505@mediamill.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@tobermory$ where portupgrade portupgrade-20041226_7 is in sysutils/portupgrade Have fun. -- Eliot 'intocabile' www.fromley.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430C68D3.30501>