summaryrefslogtreecommitdiff
path: root/mk/automake.mk
diff options
context:
space:
mode:
authorwiz <wiz>2003-12-12 19:06:34 +0000
committerwiz <wiz>2003-12-12 19:06:34 +0000
commitd4ab33a5872bb3bbcc891b82d09384806f668f25 (patch)
tree0a00995bf3bed77cc3daedf76b6e2260806a74be /mk/automake.mk
parenteb3357300c14c0a618e6b9e4460e4cd46ebd7a06 (diff)
downloadpkgsrc-d4ab33a5872bb3bbcc891b82d09384806f668f25.tar.gz
Support the automake17 package, and for now,
default to it until all packages have been fixed.
Diffstat (limited to 'mk/automake.mk')
-rw-r--r--mk/automake.mk18
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}