Date: Sun, 1 Sep 2002 01:54:19 -0400 From: Alan E <alane@geeksrus.net> To: ade#freebsd.org@wwweasel.geeksrus.net Cc: portmeg@wwweasel.geeksrus.net, FreeBSD Ports List <ports@freebsd.org> Subject: Test code for autofsk tools in bsd.port.mk Message-ID: <20020901055419.GA55634@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
This not a patch, rather it replaces all AUTO* stuff until the LIBTOOL starts. Seems to mwork find for me, and it is totally backware compatible with the existing code and no effects on any ports. ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== # Proof of concept for autotools versioning using PATH # AlanE <ports@geeksrus.net> .if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER) USE_AUTOMAKE?= yes USE_AUTOMAKE_VER?= 14 .if ${USE_AUTOMAKE_VER} == 14 AUTOMAKE_ARGS+= -i ACLOCAL_DIR= ${LOCALBASE}/share/automake14/aclocal AUTOMAKE_DIR= ${LOCALBASE}/share/automake14/automake _AUTOMAKE_PATH= ${LOCALBASE}/libexec/automake14 BUILD_DEPENDS+= automake-14:${PORTSDIR}/devel/automake14 USE_AUTOCONF_VER= 213 .else AUTOMAKE_DIR= ${LOCALBASE}/share/automake BUILD_DEPENDS+= automake:${PORTSDIR}/devel/automake USE_AUTOCONF_VER= current .endif .endif .if defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER) USE_AUTOCONF?= yes USE_AUTOCONF_VER?= 213 .if ${USE_AUTOCONF_VER} == 213 _AUTOCONF_PATH= ${LOCALBASE}/libexec/autoconf213 AUTOCONF_DIR= ${LOCALBASE}/share/autoconf213 BUILD_DEPENDS+= autoconf-213:${PORTSDIR}/devel/autoconf213 .else AUTOCONF_DIR= ${LOCALBASE}/share/autoconf BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf .endif .endif .if defined(USE_AUTOMAKE_VER) ACLOCAL= aclocal AUTOMAKE= automake GNU_CONFIGURE= yes .endif .if defined(USE_AUTOCONF_VER) AUTOCONF= autoconf AUTOHEADER= autoheader AUTORECONF= autoreconf AUTOSCAN= autoscan AUTOUPDATE= autoupdate AUTOIFNAMES= ifnames GNU_CONFIGURE= yes .endif .if defined(_AUTOCONF_PATH) && defined(_AUTOMAKE_PATH) _AUTOTOOLS_PATH= ${_AUTOMAKE_PATH}:${_AUTOCONF_PATH} .elsif defined(_AUTOCONF_PATH) _AUTOTOOLS_PATH= ${_AUTOCONF_PATH} .endif .if defined(_AUTOTOOLS_PATH) MAKE_ENV+= PATH=${_AUTOTOOLS_PATH}:$$PATH CONFIGURE_ENV+= PATH=${_AUTOTOOLS_PATH}:$$PATH .endif ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== -- AlanE KDE-FreeBSD Team (http://freebsd.kde.org/) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020901055419.GA55634>