quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH v2] configure: add compat symlinks for cp and md5


From: Martin Quinson
Subject: Re: [Quilt-dev] [PATCH v2] configure: add compat symlinks for cp and md5sum
Date: Tue, 21 Jan 2014 10:23:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Applied, many thanks. Actually, I intended to apply your previous
version and remove the gcp from the default choices myself, but you
were faster than me. Thanks for that.

Bye, Mt.

On Mon, Jan 20, 2014 at 11:44:03AM -0600, Kent R. Spillner wrote:
> Allow distributors to provide compat symlinks for cp and md5sum on
> non-GNU systems.  md5sum is used by quilt/scripts/inspect and is
> provided by GNU coreutils, but may be installed as gmd5sum on some
> systems (e.g. OpenBSD).  quilt/scripts/backup-files invokes cp
> with some non-portable GNU-specific command line arguments
> (e.g. --parents --remove-destination --target-directory).
> 
> Original diff from Jérémie Courrèges-Anglas <address@hidden> on
> OpenBSD ports mailing list.
> 
> Reported-by: Jérémie Courrèges-Anglas <address@hidden>
> Signed-off-by: Kent R. Spillner <address@hidden>
> ---
>  Makefile.in  | 2 ++
>  configure.ac | 3 +++
>  2 files changed, 5 insertions(+)
> 
> diff --git a/Makefile.in b/Makefile.in
> index 5438e6e..8fa7e82 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -42,6 +42,8 @@ MSGCAT :=   @MSGCAT@
>  DIFFSTAT :=  @DIFFSTAT@
>  RPMBUILD :=  @RPMBUILD@
>  SENDMAIL :=  @SENDMAIL@
> +CP :=                @CP@
> +MD5SUM :=    @MD5SUM@
>  
>  USE_NLS :=   @USE_NLS@
>  STAT_HARDLINK := @STAT_HARDLINK@
> diff --git a/configure.ac b/configure.ac
> index 31fa628..385c17c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -367,6 +367,9 @@ fi
>  
>  QUILT_COMPAT_PROG_PATH(SENDMAIL, sendmail, [], [/usr/sbin])
>  
> +QUILT_COMPAT_PROG_PATH(CP, cp, [cp])
> +QUILT_COMPAT_PROG_PATH(MD5SUM, md5sum, [gmd5sum md5sum])
> +
>  AC_PATH_PROG(MSGMERGE, [msgmerge])
>  AC_PATH_PROG(MSGFMT, [msgfmt])
>  AC_PATH_PROG(XGETTEXT, [xgettext])
> -- 
> 1.8.4.5
> 
> 
> _______________________________________________
> Quilt-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/quilt-dev

-- 
A couple of months in the laboratory frequently save a couple of hours
in the library.     -- old scientists saying



reply via email to

[Prev in Thread] Current Thread [Next in Thread]