mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-print/cups: disable unused host tools for cross-compiling
This commit is contained in:
committed by
Mike Frysinger
parent
ecd1eb9f76
commit
a3183fdee3
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
|
||||
30
net-print/cups/files/cups-2.0.3-cross-compile.patch
Normal file
30
net-print/cups/files/cups-2.0.3-cross-compile.patch
Normal 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
|
||||
|
||||
|
||||
#
|
||||
Reference in New Issue
Block a user