net-print/cups: disable unused host tools for cross-compiling

This commit is contained in:
Brian Norris
2016-02-05 20:32:08 -05:00
committed by Mike Frysinger
parent ecd1eb9f76
commit a3183fdee3
5 changed files with 34 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.0.2-rename-systemd-service-files.patch"
"${FILESDIR}/${PN}-2.0.2-systemd-socket.patch"
"${FILESDIR}/${PN}-2.0.1-xinetd-installation-fix.patch"
"${FILESDIR}/${PN}-2.0.3-cross-compile.patch"
)
MULTILIB_CHOST_TOOLS=(

View File

@@ -100,6 +100,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.0.2-rename-systemd-service-files.patch"
"${FILESDIR}/${PN}-2.0.2-systemd-socket.patch"
"${FILESDIR}/${PN}-2.0.1-xinetd-installation-fix.patch"
"${FILESDIR}/${PN}-2.0.3-cross-compile.patch"
)
MULTILIB_CHOST_TOOLS=(

View File

@@ -100,6 +100,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.0.2-rename-systemd-service-files.patch"
"${FILESDIR}/${PN}-2.1.2-systemd-socket.patch"
"${FILESDIR}/${PN}-2.0.1-xinetd-installation-fix.patch"
"${FILESDIR}/${PN}-2.0.3-cross-compile.patch"
)
MULTILIB_CHOST_TOOLS=(

View File

@@ -100,6 +100,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.0.2-rename-systemd-service-files.patch"
"${FILESDIR}/${PN}-2.1.2-systemd-socket.patch"
"${FILESDIR}/${PN}-2.0.1-xinetd-installation-fix.patch"
"${FILESDIR}/${PN}-2.0.3-cross-compile.patch"
)
MULTILIB_CHOST_TOOLS=(

View File

@@ -0,0 +1,30 @@
we don't actually install the generated html output, so no point in building
them. this also helps cross-compiling because the tool to create the html
uses $CC and has no logic for $BUILD_CC. simpler to disable than fix.
--- a/man/Makefile
+++ b/man/Makefile
@@ -73,7 +73,7 @@ MAN8 = cupsaccept.$(MAN8EXT) \
# Make everything...
#
-all: $(MAN1) $(MAN5) $(MAN7) $(MAN8) html
+all: $(MAN1) $(MAN5) $(MAN7) $(MAN8)
#
similarly, the genstrings tool is used to gather all the translatable strings
in the code base for passing to gettext. in our builds, those strings already
exist, so no point in running this tool.
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -70,7 +70,6 @@ EXECTARGETS = \
TARGETS = \
$(LIBTARGETS) \
$(EXECTARGETS) \
- genstrings
#