summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2016-02-05 20:32:08 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-05 20:32:08 -0500
commita3183fdee3fcfae6d9bdac88023863aeddbaccac (patch)
treef3b2cf607dcfc0fbd753c0a1587a0e844f71f9ae /net-print/cups/files
parentnet-misc/tor: ppc64 stable, bug #571706 (diff)
downloadgentoo-a3183fdee3fcfae6d9bdac88023863aeddbaccac.tar.gz
gentoo-a3183fdee3fcfae6d9bdac88023863aeddbaccac.tar.bz2
gentoo-a3183fdee3fcfae6d9bdac88023863aeddbaccac.zip
net-print/cups: disable unused host tools for cross-compiling
Diffstat (limited to 'net-print/cups/files')
-rw-r--r--net-print/cups/files/cups-2.0.3-cross-compile.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-print/cups/files/cups-2.0.3-cross-compile.patch b/net-print/cups/files/cups-2.0.3-cross-compile.patch
new file mode 100644
index 000000000000..d0893c31fa7b
--- /dev/null
+++ b/net-print/cups/files/cups-2.0.3-cross-compile.patch
@@ -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
+
+
+ #