diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-09-30 09:31:17 +0200 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-09-30 09:31:17 +0200 |
commit | cfdba342d167414279e5e246dfc32f1dfc5652f2 (patch) | |
tree | 02810424ebe70f7e7c6a6cb6d81f5a604975785d | |
parent | 806d5a1a11e85e5f639e3fb270f6a37fe301bc4f (diff) |
apt-0.7.20.2: disabled only doxygen instead of docs
* don't disable the 'docs' directory, it causes packaging to fail
* disable building doxygen documentation, it fails
-rw-r--r-- | recipes/apt/apt-0.7.20.2/no-doxygen.patch | 12 | ||||
-rw-r--r-- | recipes/apt/apt-0.7.20.2/nodoc.patch | 19 | ||||
-rw-r--r-- | recipes/apt/apt_0.7.20.2.bb | 3 |
3 files changed, 13 insertions, 21 deletions
diff --git a/recipes/apt/apt-0.7.20.2/no-doxygen.patch b/recipes/apt/apt-0.7.20.2/no-doxygen.patch new file mode 100644 index 0000000000..74fde5f0ce --- /dev/null +++ b/recipes/apt/apt-0.7.20.2/no-doxygen.patch @@ -0,0 +1,12 @@ +diff -urN apt-0.7.20.2.orig/doc/makefile apt-0.7.20.2/doc/makefile +--- apt-0.7.20.2.orig/doc/makefile 2009-02-07 16:09:35.000000000 +0100 ++++ apt-0.7.20.2/doc/makefile 2009-09-30 09:25:59.000000000 +0200 +@@ -43,7 +43,7 @@ + doc.pl: %.pl: + $(MAKE) -C pl $* + +-ifdef DOXYGEN ++ifdef DOXYGEN_IS_DISABLED + DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) ) + + clean: doxygen-clean diff --git a/recipes/apt/apt-0.7.20.2/nodoc.patch b/recipes/apt/apt-0.7.20.2/nodoc.patch deleted file mode 100644 index db8cf93717..0000000000 --- a/recipes/apt/apt-0.7.20.2/nodoc.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- apt-0.7.14.orig/Makefile -+++ apt-0.7.14/Makefile -@@ -15,11 +15,11 @@ all headers library clean veryclean bina - $(MAKE) -C apt-inst $@ - $(MAKE) -C methods $@ - $(MAKE) -C cmdline $@ - $(MAKE) -C ftparchive $@ - $(MAKE) -C dselect $@ -- $(MAKE) -C doc $@ -+# $(MAKE) -C doc $@ - $(MAKE) -C po $@ - - # Some very common aliases - .PHONY: maintainer-clean dist-clean distclean pristine sanity - maintainer-clean dist-clean distclean pristine sanity: veryclean diff --git a/recipes/apt/apt_0.7.20.2.bb b/recipes/apt/apt_0.7.20.2.bb index 318b94c642..88047cccce 100644 --- a/recipes/apt/apt_0.7.20.2.bb +++ b/recipes/apt/apt_0.7.20.2.bb @@ -4,11 +4,10 @@ RDEPENDS = "dpkg" require apt.inc SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \ + file://no-doxygen.patch;patch=1 \ file://no-ko-translation.patch;patch=1 \ file://use-host.patch;patch=1 " -SRC_URI += "file://nodoc.patch;patch=1" - require apt-package.inc FILES_${PN} += "${bindir}/apt-key" |