From owner-freebsd-stable Thu Oct 29 08:09:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10906 for freebsd-stable-outgoing; Thu, 29 Oct 1998 08:09:58 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from sussie.datadesign.se (ns.datadesign.se [194.23.109.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10895 for ; Thu, 29 Oct 1998 08:09:54 -0800 (PST) (envelope-from kaj@interbizz.se) Received: from localhost (sussie.datadesign.se [194.23.109.130]) by sussie.datadesign.se (8.8.5/8.8.7) with ESMTP id RAA07326; Thu, 29 Oct 1998 17:09:48 +0100 (MET) To: MillikS@salestech.com Cc: freebsd-stable@FreeBSD.ORG Cc: kaj@interbizz.se Subject: Re: Question about Ports Errors From: Rasmus Kaj In-Reply-To: Your message of "Thu, 29 Oct 1998 09:22:48 -0500" <7B62F9E0DD56D111AADB006097A52FCC0465E1@STIUSATLCX1.salestech.com> References: <7B62F9E0DD56D111AADB006097A52FCC0465E1@STIUSATLCX1.salestech.com> X-Mailer: Mew version 1.92.4 on XEmacs 20.4 (Emerald) X-URL: http://www.e.kth.se/~kaj/ X-Phone: +46 (0)8 - 692 35 09 / +46 (0)70 640 49 14 X-Attribution: Kaj X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q;OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<;I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19981029170948D.kaj@interbizz.se> Date: Thu, 29 Oct 1998 17:09:48 +0100 X-Dispatcher: imput version 971024 Lines: 34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "MS" == Milliken, Scott 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