From cstruble@quirk.com  Fri Jul 14 05:00:44 1995
Received: from quirk.com (root@quirk.com [198.82.204.56])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA05577
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Jul 1995 05:00:43 -0700
Received: (from cstruble@localhost) by quirk.com (8.6.11/8.6.9) id IAA10566; Fri, 14 Jul 1995 08:02:10 -0400
Message-Id: <199507141202.IAA10566@quirk.com>
Date: Fri, 14 Jul 1995 08:02:10 -0400
From: cstruble@vt.edu
Reply-To: cstruble@vt.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: make install target in ports ignores NO_PACKAGE
X-Send-Pr-Version: 3.2

>Number:         616
>Category:       ports
>Synopsis:       fake-pkg target in ports ignores NO_PACKAGE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 05:10:00 1995
>Closed-Date:    Sun Jul 30 21:35:09 PDT 1995
>Last-Modified:  Sun Jul 30 21:36:43 PDT 1995
>Originator:     Craig Struble
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
Quirk Computing
>Environment:

	Pentium 60 clone, nothing special about FreeBSD 2.0.5 setup

>Description:

	When installing ports, the install target ignores the NO_PACKAGE
	variable.

>How-To-Repeat:

	make NO_PACKAGE=yes install in any port

>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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: asami 
State-Changed-When: Sun Jul 30 21:35:09 PDT 1995 
State-Changed-Why:  
The NO_PACKAGE was never intended to turn off the fake-pkg in the 
install rule, only the building of the "real" package. 

>Unformatted:


