inherit gettext
-TARGET_PATCH = "file://use_host_makedoc.patch"
-TARGET_PATCH_class-native = ""
-
-SRC_URI += "file://disable-native-tools.patch \
- file://gettext-macros.patch \
- file://use_host_makedoc.patch \
- file://dont-depend-on-help2man.patch \
- file://missing.patch \
- ${TARGET_PATCH} \
- "
-
-do_patch_append () {
- echo RLM begining of do_patch
- cat ${WORKDIR}/disable-native-tools.patch | patch -s -p1 --fuzz=2
- #cat ${WORKDIR}/gettext-macros.patch | patch -s -p1 --fuzz=2
- cat ${WORKDIR}/use_host_makedoc.patch | patch -s -p1 --fuzz=2
- cat ${WORKDIR}/dont-depend-on-help2man.patch | patch -s -p1 --fuzz=2
- cat ${WORKDIR}/missing.patch | patch -s -p1 --fuzz=2
- echo RLM end of do_patch
-}
\ No newline at end of file
-DEPENDS_class-native = "zlib-native ncurses-native"
\ No newline at end of file
+DEPENDS_class-native = "zlib-native ncurses-native"
+
+SRC_URI += "file://disable-native-tools.patch \
+ file://dont-depend-on-help2man.patch \
+ file://missing.patch \
+ "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/disable-native-tools.patch | patch -s -p1 --fuzz=2
+ cat ${WORKDIR}/dont-depend-on-help2man.patch | patch -s -p1 --fuzz=2
+ cat ${WORKDIR}/missing.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
\ No newline at end of file
+SRC_URI += "file://disable-native-tools.patch \
+ file://use_host_makedoc.patch \
+ file://dont-depend-on-help2man.patch \
+ file://missing.patch \
+ "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/disable-native-tools.patch | patch -s -p1 --fuzz=2
+ cat ${WORKDIR}/use_host_makedoc.patch | patch -s -p1 --fuzz=2
+ cat ${WORKDIR}/dont-depend-on-help2man.patch | patch -s -p1 --fuzz=2
+ cat ${WORKDIR}/missing.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
\ No newline at end of file
--- /dev/null
+diff --git a/packaging/texinfo.spec b/packaging/texinfo.spec
+index dc288dd..0f795c0 100644
+--- a/packaging/texinfo.spec
++++ b/packaging/texinfo.spec
+@@ -137,8 +137,6 @@ popd
+ --infodir=%{_infodir} \
+ --without-included-gettext \
+ --enable-nls
+- PATH=${PWD}/makeinfo:${PWD}/util:$PATH
+- export PATH
+ make %{?_smp_mflags};
+ pushd ../texi2html-%{version_t2h}
+ ./configure --build=$HOST \
+@@ -160,8 +158,8 @@ popd
+ make DESTDIR=%{buildroot} \
+ infodir=%{_infodir} \
+ htmldir=%{_defaultdocdir}/texi2html install
+- mkdir -p %{buildroot}/sbin
+- mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/
++ mkdir -p %{buildroot}%{_buildPrefix}/sbin
++ mv %{buildroot}%{_bindir}/install-info %{buildroot}%{_buildPrefix}/sbin/
+ ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info
+ mkdir -p %{buildroot}%{_infodir}
+ install -m 644 %{S:10} %{buildroot}%{_infodir}/dir
diff --git a/packaging/texinfo.spec b/packaging/texinfo.spec
-index 8be9df1..cc80f56 100644
+index 8be9df1..dc288dd 100644
--- a/packaging/texinfo.spec
+++ b/packaging/texinfo.spec
@@ -126,7 +126,7 @@ popd
export CFLAGS LDFLAGS CC
export LD_AS_NEEDED=0
AUTOPOINT=true autoreconf -fi
-@@ -160,8 +160,8 @@ popd
- make DESTDIR=%{buildroot} \
- infodir=%{_infodir} \
- htmldir=%{_defaultdocdir}/texi2html install
-- mkdir -p %{buildroot}/sbin
-- mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/
-+ mkdir -p %{buildroot}%{_buildPrefix}/sbin
-+ mv %{buildroot}%{_bindir}/install-info %{buildroot}%{_buildPrefix}/sbin/
- ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info
- mkdir -p %{buildroot}%{_infodir}
- install -m 644 %{S:10} %{buildroot}%{_infodir}/dir