From 3c8bf6ed4f810a77eaef8908b60d31d346e65947 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 15 Feb 2003 16:38:48 +0000 Subject: [PATCH] make autoconf/automake dependencies visible through MODGNU_AUTOCONF_DEPENDS/MODGNU_AUTOMAKE_DEPENDS --- infrastructure/mk/gnu.port.mk | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/infrastructure/mk/gnu.port.mk b/infrastructure/mk/gnu.port.mk index ceb1e87b92e..37852a764eb 100644 --- a/infrastructure/mk/gnu.port.mk +++ b/infrastructure/mk/gnu.port.mk @@ -1,24 +1,29 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: gnu.port.mk,v 1.10 2003/02/15 14:06:58 espie Exp $ +# $OpenBSD: gnu.port.mk,v 1.11 2003/02/15 16:38:48 espie Exp $ # Based on bsd.port.mk, originally by Jordan K. Hubbard. # This file is in the public domain. AUTOCONF_NEW?= No + +MODGNU_AUTOCONF_DEPENDS= ::devel/metaauto \ + ::devel/autoconf/${AUTOCONF_VERSION} +MODGNU_AUTOMAKE_DEPENDS= ::devel/automake + .if ${CONFIGURE_STYLE:L:Mautomake} -BUILD_DEPENDS+= ::devel/automake +BUILD_DEPENDS+= ${MODGNU_AUTOMAKE_DEPENDS} .endif .if ${CONFIGURE_STYLE:L:Mautoupdate} CONFIGURE_STYLE+=autoconf .endif + .if ${CONFIGURE_STYLE:L:Mautoconf} -BUILD_DEPENDS+= ::devel/metaauto . if ${AUTOCONF_NEW:L} == "yes" AUTOCONF_VERSION=2.52 . else AUTOCONF_VERSION?=2.13 . endif -BUILD_DEPENDS+=::devel/autoconf/${AUTOCONF_VERSION} +BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} AUTOCONF?= autoconf AUTOUPDATE?= autoupdate AUTOHEADER?= autoheader