Date: Thu, 29 Oct 1998 17:09:48 +0100 From: Rasmus Kaj <kaj@interbizz.se> To: MillikS@salestech.com Cc: kaj@interbizz.se Subject: Re: Question about Ports Errors Message-ID: <19981029170948D.kaj@interbizz.se> In-Reply-To: Your message of "Thu, 29 Oct 1998 09:22:48 -0500" <7B62F9E0DD56D111AADB006097A52FCC0465E1@STIUSATLCX1.salestech.com> References: <7B62F9E0DD56D111AADB006097A52FCC0465E1@STIUSATLCX1.salestech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "MS" == Milliken, Scott <MillikS@salestech.com> writes: MS> [ ... ] the build errors out with an Error 1 due to a "Malformed MS> conditional" on a line usually like: MS> .if $(({$PORTOBJFORMAT} == "elf" )) MS> I've looked at the code and can get by it if I modify the Makefile so MS> that the condition is commented out and simply execute the steps related MS> to the FALSE condition here (since 2.2.7 isn't elf, of course). MS> However, I would think that someone wrote the code like this for a MS> reason - to support both 2.2.7 and 3.0 with the same ports tree. What MS> package do I need to install (or remake) in order to support the given MS> syntax in the Makefile? You should the following line in your /usr/share/mk/bsd.port.mk (I have them starting at line 393) : # Get the object format. PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout CONFIGURE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} MAKE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} PLIST_SUB+= PORTOBJFORMAT=${PORTOBJFORMAT} They are there if you cvsup -stable but, unfortunately, not in the 2.2.7 release. // Rasmus -- kaj@cityonline.se --------------- Rasmus Kaj - http://www.e.kth.se/~kaj/ \ CityOnLine IB Production AB - http://www.CityOnLine.se/ \---------------------------- Pro is to con as progress is to Congress To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029170948D.kaj>