Bug 616 - fake-pkg target in ports ignores NO_PACKAGE
Summary: fake-pkg target in ports ignores NO_PACKAGE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-07-14 05:10 UTC by cstruble
Modified: 1995-07-31 05:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cstruble 1995-07-14 05:10:00 UTC
	When installing ports, the install target ignores the NO_PACKAGE
	variable.

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
How-To-Repeat: 
	make NO_PACKAGE=yes install in any port
Comment 1 Satoshi Asami freebsd_committer freebsd_triage 1995-07-31 05:35:09 UTC
State Changed
From-To: open->closed

The NO_PACKAGE was never intended to turn off the fake-pkg in the 
install rule, only the building of the "real" package.