Solved missing makefile for devel/pear

Hi all,

I have been trying to update my freebsd ports. ( portmaster -aF)
But Fails when it get to devel/pear

Code:
===>>> Returning to update check of installed ports

"/usr/ports/Mk/bsd.php.mk", line 342: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Mpcre} != "")
"/usr/ports/Mk/bsd.php.mk", line 342: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Mxml} != "")
"/usr/ports/Mk/bsd.php.mk", line 342: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Mzlib} != "")
"/usr/ports/Mk/bsd.port.mk", line 1885: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5815: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5818: if-less endif
make: fatal errors encountered -- cannot continue

===>>> Is /usr/ports/devel/pear/Makefile missing?
===>>> Aborting update

The Kernel
FreeBSD server.awdcomp.net 9.3-STABLE FreeBSD 9.3-STABLE #0:

I even blew away the ports Directory and did a fresh portsnap extract.

Any ideas on what I can do from here?
TIA
Cheers
Andrew
 
I found the issue. I had php5 and I was halfway through the migration to php56, but didn't finish if off, must have got sidetracked.
Looks like pear got confused. Just finished off the migration and now everything is cool.
My make.conf if that makes any difference.

Code:
X11BASE=${LOCALBASE}
OPTIONS_UNSET=X11

KERNCONF=SERVER_AWD

Thanks all for your time.
 
I suspect the OPTIONS_UNSET line was not incorrect.
/etc/make.conf is loaded earlier than any options Makefile, so the "+=" won't do anything. I can't see how OPTIONS_UNSET will be defined at the point /etc/make.conf is imported.
 
I've had some odd interactions in the past, not really sure why that was. It'll also be useful if you happen to (un)set two options on different lines:
Code:
OPTIONS_UNSET+=X11
OPTIONS_UNSET+=GTK
Especially if these are further apart it's going to be difficult to keep track of the first one. So I just always add it, just to be on the safe side ;)
 
Back
Top