pass CONFIG_SITE to build step as well. should make lang/gcc build

marginally faster, and a few other odd ports that reconfigure during build
as well...
This commit is contained in:
espie 2011-11-06 12:38:29 +00:00
parent ebe71b8762
commit 1e4f1a9788

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: gnu.port.mk,v 1.42 2011/06/02 15:54:10 naddy Exp $
# $OpenBSD: gnu.port.mk,v 1.43 2011/11/06 12:38:29 espie Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
@ -38,6 +38,7 @@ CONFIG_SITE = ${PORTSDIR}/infrastructure/db/config.site
.endif
.if !empty(CONFIG_SITE)
CONFIGURE_ENV += CONFIG_SITE='${CONFIG_SITE}'
MAKE_ENV += CONFIG_SITE='${CONFIG_SITE}'
.endif
MODGNU_CONFIG_GUESS_DIRS ?=${WRKSRC}