tags 734097 + patch
quit

Hi Игорь,

Игорь Пашев wrote:

> Please, add the following lines to the "OPTS" variable in debian/rules:
>   LIBC_CONTAINS_LIBINTL=1 \
>   TAR=tar \
>   INSTALL=/usr/bin/install \
>
> This will allow building git package without changes for Dyson [1]
> By default git build system sets them as
> LIBC_CONTAINS_LIBINTL=, TAR=gtar,  INSTALL=/usr/ucb/install

I assume that means on Dyson 'uname -s' prints 'SunOS'.  Does 'uname
-o' print SunOS, too?  Is there some simple way the upstream makefile
could use to autodetect that this is the Illumos kernel with a GNU
userland, or will the distro packaging have to permanently include
these settings (which would be fine, too)?

For comparison, git's config.uname.uname treats the kfreebsd port
separately from standard FreeBSD so everything works automagically
there.

In the meantime, how about this patch?

Thanks,
Jonathan

diff --git i/debian/changelog w/debian/changelog
index 5a8f9a0..466660e 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -1,6 +1,9 @@
 git (1:2.0~next.20131217-1.1) experimental; urgency=low
 
   * debian/rules: drop obsolete THREADED_DELTA_SEARCH setting.
+  * debian/rules: add SANE_TOOL_PATH= INSTALL=install TAR=tar to
+    OPTS to fix the Dyson build (thx Игорь Пашев; closes:
+    #734097).
 
  -- Jonathan Nieder <jrnie...@gmail.com>  Fri, 03 Jan 2014 11:54:44 -0800
 
diff --git i/debian/rules w/debian/rules
index 37e71a7..221fb58 100755
--- i/debian/rules
+++ w/debian/rules
@@ -14,6 +14,7 @@ OPTS =NO_OPENSSL=1 prefix=/usr gitexecdir=/usr/lib/git-core \
   NO_PYTHON=1 \
   USE_SRV_RR=1 \
   USE_LIBPCRE=1 \
+  SANE_TOOL_PATH= INSTALL=install TAR=tar \
   NO_CROSS_DIRECTORY_HARDLINKS=1 NO_INSTALL_HARDLINKS=1 \
   DEFAULT_PAGER=pager DEFAULT_EDITOR=editor \
   CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)'


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to