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