explicitly duplicate stuff to SUBPACKAGE, often a nop, but make sure

people get correct information.
This commit is contained in:
espie 2006-11-28 16:24:00 +00:00
parent f6da9a94ff
commit 1aa5f43449

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.846 2006/11/27 20:29:50 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.847 2006/11/28 16:24:00 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -586,14 +586,14 @@ _PACKAGE_COOKIE_DEPS=${_FAKE_COOKIE}
PKGNAMES += ${FULLPKGNAME${_s}}
.endfor
.for _s in ${MULTI_PACKAGES}
.for _s in ${MULTI_PACKAGES} ${SUBPACKAGE}
. for _v in PKG_ARCH PERMIT_PACKAGE_FTP PERMIT_PACKAGE_CDROM \
RUN_DEPENDS WANTLIB LIB_DEPENDS PREFIX CATEGORIES
${_v}${_s} ?= ${${_v}}
. endfor
.endfor
.for _s in ${MULTI_PACKAGES}
.for _s in ${MULTI_PACKAGES} ${SUBPACKAGE}
. for _v in MESSAGE UNMESSAGE DESCR PLIST
. if defined(${_v})
${_v}${_s} ?= ${${_v}}
@ -757,7 +757,7 @@ PKG_ARGS += -A'${PKG_ARCH${SUBPACKAGE}}'
PKG_ARGS += -L${LOCALBASE}
.endif
.if !defined(_COMMENT${SUBPACKAGE})
ERRORS += "Fatal: Missing comment."
ERRORS += "Fatal: Missing comment for ${SUBPACKAGE}."
.endif
CHMOD ?= /bin/chmod