Kill NEED_VERSION, since people are now told to keep their ports

tree / release in sync, and strictly managing it generates a lot
of useless effort.

Note that the support for NEED_VERSION is now gone, however ports
will get that line stripped from their Makefile as time progresses
with updates, gradually; there is no emergent need for it.

ok espie and others
This commit is contained in:
pvalchev 2002-07-06 09:24:06 +00:00
parent cd965f523e
commit 6acee16b30
3 changed files with 3 additions and 23 deletions

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.531 2002/05/20 05:18:18 mpech Exp $$
# $OpenBSD: bsd.port.mk,v 1.532 2002/07/06 09:24:06 pvalchev Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -612,23 +612,6 @@ _MODULES_DONE=
. include "${PORTSDIR}/infrastructure/mk/modules.port.mk"
.endif
# NEED_VERSION: we need at least this version of bsd.port.mk for this
# port to build
_VERSION_REVISION=${FULL_REVISION:M[0-9]*.*}
_VERSION=${_VERSION_REVISION:C/\..*//}
_REVISION=${_VERSION_REVISION:C/.*\.//}
.for _v in ${NEED_VERSION}
_VERSION_NEEDED=${_v:C/\..*//}
_REVISION_NEEDED=${_v:C/.*\.//}
. if ${_VERSION_NEEDED} > ${_VERSION} || \
(${_VERSION_NEEDED} == ${_VERSION} && ${_REVISION_NEEDED} > ${_REVISION})
ERRORS+= "Fatal: Need version ${NEED_VERSION} of bsd.port.mk."
. endif
.endfor
REGRESS_TARGET ?= regress
REGRESS_FLAGS ?= ${MAKE_FLAGS}

View File

@ -1,10 +1,9 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: gnu.port.mk,v 1.8 2002/03/18 03:18:24 espie Exp $
# $OpenBSD: gnu.port.mk,v 1.9 2002/07/06 09:24:06 pvalchev Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
NEED_VERSION+=1.513
AUTOCONF_NEW?= No
.if ${CONFIGURE_STYLE:L:Mautomake}
BUILD_DEPENDS+= ::devel/automake

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.template,v 1.36 2002/05/25 11:43:33 naddy Exp $
# $OpenBSD: Makefile.template,v 1.37 2002/07/06 09:24:06 pvalchev Exp $
# $FreeBSD/NetBSD: credit FreeBSD/NetBSD if thats where the port came from $
# Original from: credit the original author here
#
@ -25,8 +25,6 @@ DISTNAME= ???
#PKGNAME= ???
#PKGNAME-foo= ??? for multi packages
CATEGORIES= ???
#NEED_VERSION= ?.??
# Always put the NEED_VERSION line right after CATEGORIES
#HOMEPAGE= ??? URL