Hi Daniel,

On Wed, Apr 18, 2018 at 7:17 PM, Daniel Schepler <[email protected]> wrote:
> The expat source package is involved in a build dependency cycle:
[...]
> It would be good if you could provide a build profile to be able to
> bootstrap without docbook2x being installable.
 With the following patch, you can bootstrap expat without docbook2x -
hope it's enough for you.

Regards,
Laszlo/GCS
diff -Nru expat-2.2.5/debian/control expat-2.2.5/debian/control
--- expat-2.2.5/debian/control	2017-12-17 07:33:25.000000000 +0000
+++ expat-2.2.5/debian/control	2018-04-18 17:49:19.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
 Standards-Version: 4.1.2
-Build-Depends: debhelper (>= 11), docbook-to-man, docbook2x,
+Build-Depends: debhelper (>= 11), docbook-to-man,
  libbsd-dev [kfreebsd-amd64 kfreebsd-i386 hurd-i386]
 Homepage: https://libexpat.github.io/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/expat/trunk/
diff -Nru expat-2.2.5/debian/expat.install expat-2.2.5/debian/expat.install
--- expat-2.2.5/debian/expat.install	2016-06-21 15:47:13.000000000 +0000
+++ expat-2.2.5/debian/expat.install	2018-04-18 17:49:19.000000000 +0000
@@ -1,2 +1 @@
 usr/bin
-usr/share/man
diff -Nru expat-2.2.5/debian/rules expat-2.2.5/debian/rules
--- expat-2.2.5/debian/rules	2017-12-16 07:24:56.000000000 +0000
+++ expat-2.2.5/debian/rules	2018-04-18 17:49:19.000000000 +0000
@@ -54,12 +54,12 @@
 build/config.status: config-common-stamp
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
-	 ../src/configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH))
+	 ../src/configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --without-docbook)
 
 buildw/config.status: config-common-stamp
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); CFLAGS="$(CFLAGS) -DXML_UNICODE" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
-	 ../srcw/configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH))
+	 ../srcw/configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --without-docbook)
 
 clean:
 	dh_testdir
@@ -75,7 +75,7 @@
 build-indep: build-stamp
 build-stamp: build/config.status buildw/config.status
 	dh_testdir
-	$(MAKE) $(NJOBS) -C build/
+	$(MAKE) $(NJOBS) -C build/ lib xmlwf tests examples
 	$(MAKE) $(NJOBS) -C buildw/lib all
 #	docbook-to-man doc/xmlwf.sgml > debian/xmlwf.1
 	touch $@
@@ -85,7 +85,7 @@
 	dh_testroot
 	dh_prep
 	dh_installdirs
-	$(MAKE) -C build/ install DESTDIR=$(CURDIR)/debian/tmp
+	$(MAKE) -C build/ install-exec install-pkgconfigDATA DESTDIR=$(CURDIR)/debian/tmp
 	$(MAKE) -C buildw/lib install DESTDIR=$(CURDIR)/debian/tmp APIHEADER=
 	# Move libexpat.so.* to /lib so that zfsutils can use it.
 	mkdir -p $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)

Reply via email to