From owner-freebsd-ports@FreeBSD.ORG Wed Aug 24 12:34:17 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B54C316A41F for ; Wed, 24 Aug 2005 12:34:17 +0000 (GMT) (envelope-from sfromley@ntlworld.com) Received: from mta07-winn.ispmail.ntl.com (mta07-winn.ispmail.ntl.com [81.103.221.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9B243D48 for ; Wed, 24 Aug 2005 12:34:16 +0000 (GMT) (envelope-from sfromley@ntlworld.com) Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35]) by mta07-winn.ispmail.ntl.com with ESMTP id <20050824123415.KVME21883.mta07-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com>; Wed, 24 Aug 2005 13:34:15 +0100 Received: from [192.168.124.185] (really [82.18.10.30]) by aamta11-winn.ispmail.ntl.com with ESMTP id <20050824123415.BEHW13593.aamta11-winn.ispmail.ntl.com@[192.168.124.185]>; Wed, 24 Aug 2005 13:34:15 +0100 Message-ID: <430C68D3.30501@ntlworld.com> Date: Wed, 24 Aug 2005 13:32:19 +0100 From: Eliot Earle User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gavin McDougall References: <430C1B37.8080401@mediamill.co.za> <430C370A.3000505@mediamill.co.za> In-Reply-To: <430C370A.3000505@mediamill.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: php compile flags - resolved X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 12:34:17 -0000 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