FreeBSD Port: pear-apd-1.0

Gerard Samuel gsam at trini0.org
Sun Oct 10 09:40:52 PDT 2004


Thierry Thomas wrote:
> Le Dim 10 oct 04 à 16:36:41 +0200, Gerard Samuel <gsam at trini0.org>
>  écrivait :
> 
>>It is currently marked broken, but doesn't say why (besides that it 
>>doesnt compile).
>>I modified the port to the latest version (1.0.1), and its compiling
>>correctly on FreeBSD 5.2.1-RELEASE-p9
>>
>>Could anyone with a different version than mine try this patch, to
>>see if it really does compile, so that I can send in a PR.
> 
> 
> Thanks for your notification!
> 
> It is OK on FreeBSD-5.3, but it fails on 4.10-STABLE with the following
> message:
> 
> ===>  Building for pear-apd-1.0.1
> /bin/sh /usr/local/bin/libtool13 --mode=compile cc  -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM  -DHAVE_CONFIG_H  -O -pipe -march=pentiumpro  -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c -o php_apd.lo
> mkdir .libs
> cc -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c  -fPIC -DPIC -o .libs/php_apd.lo
> cc: unrecognized option `-prefer-pic'

Then I haven't the slightest clue as to why its broken.
Im taking a guess here.  Has it something to do with the recent gcc 
changes in FBSD???


More information about the freebsd-ports mailing list