From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 1 05:49:15 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D31D37B401 for ; Fri, 1 Aug 2003 05:49:15 -0700 (PDT) Received: from loops.nilpotent.org (loops.nilpotent.org [12.17.163.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 685E043F93 for ; Fri, 1 Aug 2003 05:49:14 -0700 (PDT) (envelope-from silence@nilpotent.org) Received: (qmail 58360 invoked by uid 200); 1 Aug 2003 12:49:12 -0000 Date: Fri, 1 Aug 2003 05:49:12 -0700 From: Faried Nawaz To: hackers@freebsd.org Message-ID: <20030801124912.GA58125@nilpotent.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Organization: Integral Domains Subject: Re: make -U X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 12:49:15 -0000 > I think that it's not needed, since the functionality can > easily be achieved by running "make FOO=", i.e., assigning > an empty value. There are a few cases where you do need to undefine something. Take for example port Makefiles which are marked with RESTRICTED; if you want to make a package for company-wide distribution, you can simply type "make -U RESTRICTED package" and you're done. In my particular case, it was /usr/src/gnu/lib/libobjc -- its Makefile has NOPIC defined. I could - edit the makefile, - ask around about the NOPIC thing (done, but haven't received a response yet), - or type "make -U NOPIC -D SHLIB_MAJOR install" There's no need to edit the makefile (changes lost in the next cvsup) or to make a copy of the makefile, edit the copy, and do make -f my-makefile (differences will develop between Makefile and my-makefile over time). Faried. -- The Great GNU has arrived, infidels, behold his wrath ! "If a MOO runs on a port no one accesses, does it run?"