From owner-freebsd-bugs Fri Jul 14 05:47:39 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA07671 for bugs-outgoing; Fri, 14 Jul 1995 05:47:39 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA07665 for ; Fri, 14 Jul 1995 05:47:37 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id FAA00639; Fri, 14 Jul 1995 05:47:30 -0700 Date: Fri, 14 Jul 1995 05:47:30 -0700 Message-Id: <199507141247.FAA00639@silvia.HIP.Berkeley.EDU> To: cstruble@vt.edu CC: freebsd-bugs@freefall.cdrom.com In-reply-to: <199507141210.FAA06176@freefall.cdrom.com> (cstruble@vt.edu) Subject: Re: ports/616: make install target in ports ignores NO_PACKAGE From: asami@cs.berkeley.edu (Satoshi Asami) Sender: bugs-owner@FreeBSD.org Precedence: bulk * >Description: * * When installing ports, the install target ignores the NO_PACKAGE * variable. This is natural. It's supposed to use an empty "package" target, not the "install" target. * >Fix: * * Change install target in bsd.port.mk to make the fake-pkg target * only get run if NO_PACKAGE is undefined. Looks like * * .if !defined(NO_PACKAGE) * @${MAKE} ${.MAKEFLAGS} fake-pkg * .endif I'm not sure why you want to do this. fake-pkg is (despite the name -- I should have called it differently) not a packaging target. (Well it's a "fake", I know. :) NO_PACKAGE is meant for ports that we can't distribute binary packages due to some restriction (export law, licensing, etc.). The fake-pkg target, on the other hand, registers the port you just installed on YOUR system, and there is no reason why NO_PACKAGE should preclude it. Satoshi