make autoconf/automake dependencies visible through

MODGNU_AUTOCONF_DEPENDS/MODGNU_AUTOMAKE_DEPENDS
This commit is contained in:
espie 2003-02-15 16:38:48 +00:00
parent fe1981bb38
commit 3c8bf6ed4f

View File

@ -1,24 +1,29 @@
#-*- mode: Fundamental; tab-width: 4; -*- #-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make: # 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. # Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain. # This file is in the public domain.
AUTOCONF_NEW?= No AUTOCONF_NEW?= No
MODGNU_AUTOCONF_DEPENDS= ::devel/metaauto \
::devel/autoconf/${AUTOCONF_VERSION}
MODGNU_AUTOMAKE_DEPENDS= ::devel/automake
.if ${CONFIGURE_STYLE:L:Mautomake} .if ${CONFIGURE_STYLE:L:Mautomake}
BUILD_DEPENDS+= ::devel/automake BUILD_DEPENDS+= ${MODGNU_AUTOMAKE_DEPENDS}
.endif .endif
.if ${CONFIGURE_STYLE:L:Mautoupdate} .if ${CONFIGURE_STYLE:L:Mautoupdate}
CONFIGURE_STYLE+=autoconf CONFIGURE_STYLE+=autoconf
.endif .endif
.if ${CONFIGURE_STYLE:L:Mautoconf} .if ${CONFIGURE_STYLE:L:Mautoconf}
BUILD_DEPENDS+= ::devel/metaauto
. if ${AUTOCONF_NEW:L} == "yes" . if ${AUTOCONF_NEW:L} == "yes"
AUTOCONF_VERSION=2.52 AUTOCONF_VERSION=2.52
. else . else
AUTOCONF_VERSION?=2.13 AUTOCONF_VERSION?=2.13
. endif . endif
BUILD_DEPENDS+=::devel/autoconf/${AUTOCONF_VERSION} BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
AUTOCONF?= autoconf AUTOCONF?= autoconf
AUTOUPDATE?= autoupdate AUTOUPDATE?= autoupdate
AUTOHEADER?= autoheader AUTOHEADER?= autoheader