Return an error code in case the AUTO{CONF,MAKE}_VERSION variable is not
found in environment instead of failing silently. Bump metaauto to 1.0. from Tobias Ulmer, ports failing with that diff (automake, cups, freetds, tremor-tools) fixed by sthen@ and myself, 'go ahead' espie@
This commit is contained in:
parent
b9fb7b7b9d
commit
776b2a6ab4
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2008/03/31 08:47:25 bernd Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2010/11/06 10:58:15 landry Exp $
|
||||
|
||||
COMMENT= wrapper for gnu auto*
|
||||
|
||||
VERSION= 0.9
|
||||
VERSION= 1.0
|
||||
DISTNAME= metaauto-${VERSION}
|
||||
CATEGORIES= devel
|
||||
DISTFILES= pkg-config-0.21.tar.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $OpenBSD: meta.in,v 1.5 2008/03/31 08:47:25 bernd Exp $
|
||||
# $OpenBSD: meta.in,v 1.6 2010/11/06 10:58:15 landry Exp $
|
||||
|
||||
# Copyright (c) 2003,2004 Marc Espie.
|
||||
#
|
||||
@ -26,7 +26,8 @@
|
||||
|
||||
case "x$@PROG_VERSION" in
|
||||
x) # figure out manually what to do
|
||||
echo "Provide an @PROG_VERSION environment variable, please"
|
||||
echo "Provide an @PROG_VERSION environment variable, please" >&2
|
||||
exit 127
|
||||
;;
|
||||
x*)
|
||||
exec @LOCALBASE@/bin/@SCRIPT@-$@PROG_VERSION "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user