switch to metaauto framework: the autoconf ports are now not quite usable,
and need the metaauto wrappers to work. The metaauto wrapper does not run depend on any autoconf version, to allow partial installations. Tested and approved by naddy@
This commit is contained in:
parent
538444df85
commit
7de32aba9d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.157 2003/02/13 14:52:36 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.158 2003/02/15 14:06:58 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.85 1997/11/20 05:22:14 asami Exp $
|
||||
|
||||
SUBDIR += ElectricFence
|
||||
@ -11,8 +11,8 @@
|
||||
SUBDIR += atlas
|
||||
SUBDIR += autobook
|
||||
SUBDIR += autoconf
|
||||
SUBDIR += autoconf-new
|
||||
SUBDIR += automake
|
||||
SUBDIR += metaauto
|
||||
SUBDIR += binutils
|
||||
SUBDIR += bison
|
||||
SUBDIR += boehm-gc
|
||||
|
@ -1,37 +1,5 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2002/12/29 20:19:10 fgsch Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2003/02/15 14:06:58 espie Exp $
|
||||
|
||||
COMMENT= "automatically configure source code on many Un*x platforms"
|
||||
|
||||
DISTNAME= autoconf-2.13
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
|
||||
|
||||
HOMEPAGE= http://www.gnu.org/software/autoconf/
|
||||
|
||||
MAINTAINER= Marc Espie <espie@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ENV= M4=/usr/bin/m4
|
||||
|
||||
pre-configure:
|
||||
# Check if /usr/bin/m4 recognizes option -g, and has builtin __line__
|
||||
@if [ X`echo "__line__"|/usr/bin/m4 -g 2>/dev/null` \
|
||||
== "X1" ]; then \
|
||||
exit 0; \
|
||||
fi; \
|
||||
echo >&2 "Your m4 is not current enough, sorry."; \
|
||||
echo >&2 "The turning point was March 18, 2000, a few months after 2.6 came out."; \
|
||||
echo >&2 "Update m4 to a more recent version," ; \
|
||||
echo >&2 "or retrieve an older version of the autoconf port."; \
|
||||
exit 1
|
||||
|
||||
REGRESS_DEPENDS=:dejagnu-*:devel/dejagnu
|
||||
|
||||
.include <bsd.port.mk>
|
||||
SUBDIR+=2.13
|
||||
SUBDIR+=2.52
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: gnu.port.mk,v 1.9 2002/07/06 09:24:06 pvalchev Exp $
|
||||
# $OpenBSD: gnu.port.mk,v 1.10 2003/02/15 14:06:58 espie Exp $
|
||||
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
|
||||
@ -12,22 +12,22 @@ BUILD_DEPENDS+= ::devel/automake
|
||||
CONFIGURE_STYLE+=autoconf
|
||||
.endif
|
||||
.if ${CONFIGURE_STYLE:L:Mautoconf}
|
||||
BUILD_DEPENDS+= ::devel/metaauto
|
||||
. if ${AUTOCONF_NEW:L} == "yes"
|
||||
BUILD_DEPENDS+= ::devel/autoconf-new
|
||||
AUTOCONF?= autoconf-new
|
||||
AUTOUPDATE?= autoupdate-new
|
||||
AUTOHEADER?= autoheader-new
|
||||
AUTOCONF_VERSION=2.52
|
||||
. else
|
||||
AUTOCONF_VERSION?=2.13
|
||||
. endif
|
||||
BUILD_DEPENDS+=::devel/autoconf/${AUTOCONF_VERSION}
|
||||
AUTOCONF?= autoconf
|
||||
AUTOUPDATE?= autoupdate
|
||||
AUTOHEADER?= autoheader
|
||||
MAKE_FLAGS+= AUTOCONF='${AUTOCONF}' AUTOHEADER='${AUTOHEADER}'
|
||||
FAKE_FLAGS+= AUTOCONF='${AUTOCONF}' AUTOHEADER='${AUTOHEADER}'
|
||||
. else
|
||||
AUTOCONF?= autoconf
|
||||
AUTOUPDATE?= autoupdate
|
||||
AUTOHEADER?= autoheader
|
||||
BUILD_DEPENDS+= ::devel/autoconf
|
||||
. endif
|
||||
AUTOCONF_DIR?=${WRKSRC}
|
||||
# missing ?= not an oversight
|
||||
AUTOCONF_ENV=PATH=${PORTPATH}
|
||||
AUTOCONF_ENV=PATH=${PORTPATH} AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
||||
MAKE_ENV+=AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
||||
.endif
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS?=${WRKSRC}
|
||||
@ -57,6 +57,7 @@ CONFIGURE_ARGS+= --sysconfdir='${SYSCONFDIR}'
|
||||
|
||||
REGRESS_TARGET?= check
|
||||
|
||||
PATCH_CHECK_ONLY?= No
|
||||
.if ${PATCH_CHECK_ONLY:L} != "yes"
|
||||
. if ${CONFIGURE_STYLE:L:Mautoupdate}
|
||||
MODGNU_post-patch+= cd ${AUTOCONF_DIR} && ${SETENV} ${AUTOCONF_ENV} ${AUTOUPDATE};
|
||||
|
Loading…
x
Reference in New Issue
Block a user