Subversion Repositories libtar

Compare Revisions

Ignore whitespace Rev 46 → Rev 47

/trunk/debian/changelog
2,8 → 2,10
 
* no_strip.patch: make install must not strip binaries; it breaks cross
compilation and is against policy with regard to build options.
* Pass --build and --host to configure as appropriate to enable cross
compilation (Closes: #839883).
 
-- Magnus Holmgren <holmgren@debian.org> Tue, 11 Oct 2016 22:00:33 +0200
-- Magnus Holmgren <holmgren@debian.org> Tue, 11 Oct 2016 22:29:38 +0200
 
libtar (1.2.20-6) unstable; urgency=low
 
/trunk/debian/rules
1,12 → 1,19
#!/usr/bin/make -f
 
export LIBTOOLIZE = libtoolize --install
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
buildflags = --build=$(DEB_BUILD_GNU_TYPE)
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
buildflags += --host=$(DEB_HOST_GNU_TYPE)
endif
 
configure: configure-stamp
configure-stamp:
dh_testdir
[ -f debian/autoreconf.before ] || dh_autoreconf
./configure \
./configure $(buildflags) \
--prefix=/usr \
--without-zlib \
--mandir=\$${prefix}/share/man \