diff options
Diffstat (limited to 'meta/recipes-devtools/xmlto/xmlto_0.0.28.bb')
| -rw-r--r-- | meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb index 5cb9a4c57b..ce6680c507 100644 --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | |||
| @@ -8,6 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
| 8 | 8 | ||
| 9 | SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \ | 9 | SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \ |
| 10 | file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \ | 10 | file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \ |
| 11 | file://0001-Fix-return-type-of-main-function.patch \ | ||
| 12 | file://0001-fix-Wimplicit-int-for-ifsense.patch \ | ||
| 13 | file://0001-Regenerate-the-xmlif.c-and-update-xmlif.l-to-comply-.patch \ | ||
| 11 | " | 14 | " |
| 12 | SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" | 15 | SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" |
| 13 | SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" | 16 | SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" |
| @@ -36,6 +39,13 @@ BBCLASSEXTEND = "native" | |||
| 36 | 39 | ||
| 37 | EXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc" | 40 | EXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc" |
| 38 | 41 | ||
| 42 | do_configure:prepend() { | ||
| 43 | # make sure xmlif.c is newer than xmlif.l after do_patch (order of | ||
| 44 | # .patch files in SRC_URI isn't enough) to prevent regenerating it | ||
| 45 | # with flex-native which isn't in DEPENDS | ||
| 46 | touch ${S}/xmlif/xmlif.c | ||
| 47 | } | ||
| 48 | |||
| 39 | do_install:append:class-native() { | 49 | do_install:append:class-native() { |
| 40 | create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog | 50 | create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog |
| 41 | } | 51 | } |
