public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon Turney <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [cygport - the Cygwin packaging tool] branch master, updated. 0.36.6-9-g73b99829 Date: Sun, 17 Sep 2023 15:59:34 +0000 (GMT) [thread overview] Message-ID: <20230917155934.665843858298@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/cygport.git;h=73b99829b48d938df61ee65e97e6d64894e211b3 commit 73b99829b48d938df61ee65e97e6d64894e211b3 Author: Brian Inglis <Brian.Inglis@Shaw.ca> Date: Sun Sep 17 15:13:42 2023 +0100 autotools: Support AC_CONFIG_MACROS_DIRS Add support for the new (in autoconf 2.69) AC_CONFIG_MACRO_DIRS macro to the existing support for the older AC_CONFIG_MACRO_DIR macro. https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/cygport.git;h=47e3c4de1ea40fbc0d64b7e91e9c5baf5fe19eda commit 47e3c4de1ea40fbc0d64b7e91e9c5baf5fe19eda Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sun Sep 17 15:05:18 2023 +0100 Add a deprecation warning for DEPEND Add a deprecation warning for the obsolete DEPEND variable, suggesting BUILD_DEPENDS instead. Diff: --- cygclass/autotools.cygclass | 2 +- cygclass/gnome2.cygclass | 2 +- cygclass/mate.cygclass | 2 +- cygclass/xfce4.cygclass | 2 +- lib/check_funcs.cygpart | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/cygclass/autotools.cygclass b/cygclass/autotools.cygclass index f629f312..55be6709 100644 --- a/cygclass/autotools.cygclass +++ b/cygclass/autotools.cygclass @@ -311,7 +311,7 @@ cygautoreconf() { then __parse_aclocal_amflags $(grep '^ACLOCAL_AMFLAGS' Makefile.am | sed 's/=/ = /') | xargs -r mkdir -p fi - grep '^[^\#]*AC_CONFIG_MACRO_DIR' ${sub_configure_ac} | sed -e "s!.*AC_CONFIG_MACRO_DIR(\[*\(.*\))!${d}/\1!g" -e 's!\]*!!g' | xargs -r mkdir -p + grep '^[^\#]*AC_CONFIG_MACRO_DIRS*' ${sub_configure_ac} | sed -e "s!.*AC_CONFIG_MACRO_DIRS*(\[*\(.*\))!${d}/\1!g" -e 's!\]*!!g' | xargs -r mkdir -p if [ ! -f ${d}/aclocal.m4 ] || $(head -n 1 ${d}/aclocal.m4 | grep -q 'generated.* by aclocal') then diff --git a/cygclass/gnome2.cygclass b/cygclass/gnome2.cygclass index fc626c37..c2dde040 100644 --- a/cygclass/gnome2.cygclass +++ b/cygclass/gnome2.cygclass @@ -181,7 +181,7 @@ gnome2_autoreconf() { fi # aclocal requires that its directories exist - sed -n -e 's|^AC_CONFIG_MACRO_DIR(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p + sed -n -e 's|^AC_CONFIG_MACRO_DIRS*(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p # Automake will exit if these are not present # dodoc won't install these, however, if they are empty diff --git a/cygclass/mate.cygclass b/cygclass/mate.cygclass index c3dc7c82..532814ac 100644 --- a/cygclass/mate.cygclass +++ b/cygclass/mate.cygclass @@ -202,7 +202,7 @@ mate_autoreconf() { fi # aclocal requires that its directories exist - sed -n -e 's|^AC_CONFIG_MACRO_DIR(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p + sed -n -e 's|^AC_CONFIG_MACRO_DIR*(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p # Automake will exit if these are not present # dodoc won't install these, however, if they are empty diff --git a/cygclass/xfce4.cygclass b/cygclass/xfce4.cygclass index 541faedb..5131c9a8 100644 --- a/cygclass/xfce4.cygclass +++ b/cygclass/xfce4.cygclass @@ -137,7 +137,7 @@ xfce4_autoreconf() { export WANT_AUTOMAKE - sed -n -e 's|^AC_CONFIG_MACRO_DIR(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p + sed -n -e 's|^AC_CONFIG_MACRO_DIR*(\[*\([^]]*\)\]*).*|\1|p' ${configure_ac} | xargs -r mkdir -p NOCONFIGURE=1 \ XDT_PROG_ACLOCAL=aclocal \ diff --git a/lib/check_funcs.cygpart b/lib/check_funcs.cygpart index 858e42b5..f6b273b3 100644 --- a/lib/check_funcs.cygpart +++ b/lib/check_funcs.cygpart @@ -570,6 +570,11 @@ __check_depends() { __deparenthesize() { echo "$@" | sed -e 's|[a-zA-Z0-9]*(\([^)]*\))|\1|' ; } + if [ -v DEPEND ] + then + warning "DEPEND is deprecated, use BUILD_REQUIRES instead." + fi + for atom in ${BUILD_REQUIRES:-${DEPEND}} do case ${atom} in
reply other threads:[~2023-09-17 15:59 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230917155934.665843858298@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).