On Thu, Mar 21, 2013 at 11:39:07AM +0530, Vikas Mahajan wrote:
> Hi all,
> 
> After updating portsnap I tried to install php5. Now make config fails
> with following error:
> 
> ===>  Building for dialog4ports-0.1
> Warning: Object directory not changed from original
> /usr/ports/ports-mgmt/dialog4ports/wor k/dialog4ports-0.1
> cc -O2 -fno-strict-aliasing -pipe
> -I/usr/ports/ports-mgmt/dialog4ports/work/dialog-1.1-20 120706
> -D_XOPEN_SOURCE_EXTENDED -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -W -Wno-unu sed-parameter -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
> -Wno-pointer-sign  -o dialog4ports dialog4ports.o mixedlist.o arrows.o
> buttons.o dlg_keys. o help.o inputstr.o mouse.o mousewget.o textbox.o
> rc.o trace.o ui_getc.o util.o version.o  -lncursesw
> util.o(.text+0x2e02): In function `dlg_auto_size':
> : undefined reference to `sqrt'
> *** Error code 1
> 1 error
> *** Error code 1
> 
> Stop in /usr/ports/ports-mgmt/dialog4ports.
> 
> If I set NO_DIALOG=yes in /etc/make.conf, I am getting:
> ===> Skipping 'config' as NO_DIALOG is defined
> 
> How can solve this problem? Any way to fix this error or using old
> make config dialog.
> 
> Please help.

Try replacing the ports-mgmt/pkg/files/patch-Makefile by this one:
http://people.freebsd.org/~bapt/patch-Makefile

And tell me if it works.

But please notice that 7.x is EOLed 28 feb, more and more the ports tree will
get incompatible, and if we want to follow the direction for FreeBSD 10 (replace
our make by bmake) we will need to a day or another break totally compatibility
with 7.

Consider upgrading your boxes.

regards,
Bapt

Attachment: pgpComOWAPYWI.pgp
Description: PGP signature

Reply via email to