quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] prefer-gnu-coreutils.diff [re-done against HEAD]


From: John Vandenberg
Subject: Re: [Quilt-dev] prefer-gnu-coreutils.diff [re-done against HEAD]
Date: Sun, 18 Sep 2005 23:48:10 +1000

On 9/18/05, Gary V. Vaughan <address@hidden> wrote:
> Mac OS X 10.4 (I'm running 10.4.2) ships with a cp command that does
> not understand the `-l' option.  Darwin ports has a coreutils port with
> GNU cp, but installs it as gcp so as not to overshadow Apple's cp
> command.
> 
> Similarly OS X's date command doesn't understand --rfc-822 among other
> options used by quilt, and coreutils installs gdate.
> 
> Okay, so I relent, quilt needs coreutils.  This patch searches for and uses
> gcp in preference to cp, and gdate in preference to date to workaround
> these problems, provided there is an installed GNU cp called gcp etc.
> @@ -236,6 +238,8 @@ $(PACKAGE).spec : $(PACKAGE).spec.in $(P
>              -e 's:@SCRIPTS''@:$(SCRIPTS_DIR):g' \
>              -e 's:@PERL''@:$(PERL):g' \
>              -e 's:@BASH''@:$(BASH):g' \
> +            -e 's:@CP''@:$(CP):g' \
> +            -e 's:@DATE''@:$(DATE):g' \
>              -e 's:@SED''@:$(SED):g' \
>              -e 's:@AWK''@:$(AWK):g' \
>              -e 's:@DIFF''@:$(DIFF):g' \

> Index: quilt-HEAD/quilt/*.in

This is not required.  the compatibility layer will create a symlink
in the compat directory, meaning `cp' will dynamically point to
/path/to/gcp.  In the near future, most of the @FOO@ will be removed
from the *.in files.

--
John




reply via email to

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