|
@@ -38,7 +38,6 @@ ifeq (,$(filter maintainer-build,$(DEB_BUILD_OPTIONS)))
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
D := $(CURDIR)/debian/tmp
|
|
D := $(CURDIR)/debian/tmp
|
|
|
-D_MA := $(D)/usr/lib/$(DEB_HOST_MULTIARCH)
|
|
|
|
|
|
|
|
|
|
# Create configure script if necessary, automake handles rebuilding it.
|
|
# Create configure script if necessary, automake handles rebuilding it.
|
|
|
configure:
|
|
configure:
|
|
@@ -59,6 +58,7 @@ build-tree/config.status: configure
|
|
|
--sysconfdir=/etc \
|
|
--sysconfdir=/etc \
|
|
|
--sbindir=/sbin \
|
|
--sbindir=/sbin \
|
|
|
--localstatedir=/var \
|
|
--localstatedir=/var \
|
|
|
|
|
+ --with-devlibdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
|
|
|
--with-zlib \
|
|
--with-zlib \
|
|
|
--with-liblzma \
|
|
--with-liblzma \
|
|
|
--with-bz2
|
|
--with-bz2
|
|
@@ -86,11 +86,6 @@ install: check
|
|
|
|
|
|
|
|
cd build-tree && $(MAKE) DESTDIR=$(D) install
|
|
cd build-tree && $(MAKE) DESTDIR=$(D) install
|
|
|
|
|
|
|
|
- # Passing --libdir to configure has too many side effects, install
|
|
|
|
|
- # the paths into Multi-Arch directories here instead.
|
|
|
|
|
- mkdir -p $(D_MA)
|
|
|
|
|
- mv $(D)/usr/lib/libdpkg.a $(D_MA)
|
|
|
|
|
-
|
|
|
|
|
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
|
|
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
|
|
|
# Ubuntu's «i386» architecture is built for i686 (the Debian default
|
|
# Ubuntu's «i386» architecture is built for i686 (the Debian default
|
|
|
# is i586).
|
|
# is i586).
|