diff options
author | wiz <wiz@pkgsrc.org> | 2003-12-12 19:06:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-12-12 19:06:34 +0000 |
commit | 8b816e0fa962f866f6857864b6979b8d633ebc64 (patch) | |
tree | 0a00995bf3bed77cc3daedf76b6e2260806a74be | |
parent | 64644f25a79d5e96b0654a860b7873134967e99c (diff) | |
download | pkgsrc-8b816e0fa962f866f6857864b6979b8d633ebc64.tar.gz |
Support the automake17 package, and for now,
default to it until all packages have been fixed.
-rw-r--r-- | mk/automake.mk | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/mk/automake.mk b/mk/automake.mk index ae198cdbe21..6e0c65d7927 100644 --- a/mk/automake.mk +++ b/mk/automake.mk @@ -1,4 +1,4 @@ -# $NetBSD: automake.mk,v 1.5 2003/12/12 07:12:38 wiz Exp $ +# $NetBSD: automake.mk,v 1.6 2003/12/12 19:06:34 wiz Exp $ # # makefile fragment for packages that use automake # AUTOMAKE_REQD can be set to the minimum version required. @@ -14,16 +14,20 @@ AUTOMAKE_MK= # defined # minimal required version -AUTOMAKE_REQD?= 1.8 +AUTOMAKE_REQD?= 1.7 -.if ${AUTOMAKE_REQD:M1.4*} == "" -BUILD_DEPENDS+= automake>=${AUTOMAKE_REQD}:../../devel/automake -_AUTOMAKE_API_VERSION= 1.8 -AUTOCONF_REQD?= 2.58 -.else +.if !empty(AUTOMAKE_REQD:M1.4*) BUILD_DEPENDS+= automake14>=${AUTOMAKE_REQD}:../../devel/automake14 _AUTOMAKE_API_VERSION= 1.4 AUTOCONF_REQD?= 2.13 +.elif !empty(AUTOMAKE_REQD:M1.7*) +BUILD_DEPENDS+= automake17>=${AUTOMAKE_REQD}:../../devel/automake17 +_AUTOMAKE_API_VERSION= 1.7 +AUTOCONF_REQD?= 2.54 +.else +BUILD_DEPENDS+= automake>=${AUTOMAKE_REQD}:../../devel/automake +_AUTOMAKE_API_VERSION= 1.8 +AUTOCONF_REQD?= 2.58 .endif AUTOMAKE= ${LOCALBASE}/bin/automake-${_AUTOMAKE_API_VERSION} |