diff options
author | Ross Burton <ross.burton@intel.com> | 2015-06-09 19:37:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:16 +0100 |
commit | b012fc8b198cea8e6b317e30804c0199ff4d131c (patch) | |
tree | c1467d0f17752a6a0c5dfedb51032810d6831b29 /meta/recipes-extended/cups | |
parent | 8c9acb766b3ab92224f9b1598eb0196ef6d92974 (diff) | |
download | poky-b012fc8b198cea8e6b317e30804c0199ff4d131c.tar.gz |
cups: clean up autotools use
Instead of hand-rolling a do_configure() simply use autotools and disable
autoheader (upstream uses a hand-generated config.h.in).
Also do_compile() doesn't need to pass SSLLIBS as configure uses pkgconfig to
find gnutls, LIBPNG and LIBJPEG are not used anywhere in the build system, and
LIBZ is detected correctly.
(From OE-Core rev: 9c25af5483280c5c753f981504eb373d6e58c7f3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index df47c81d59..ba50296ba7 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -43,13 +43,7 @@ EXTRA_OECONF = " \ | |||
43 | --without-java \ | 43 | --without-java \ |
44 | " | 44 | " |
45 | 45 | ||
46 | 46 | EXTRA_AUTORECONF += "--exclude=autoheader" | |
47 | do_configure() { | ||
48 | gnu-configize | ||
49 | libtoolize --force | ||
50 | autoconf --force | ||
51 | DSOFLAGS="${LDFLAGS}" SERVERBIN="${libdir}/cups" oe_runconf | ||
52 | } | ||
53 | 47 | ||
54 | do_compile () { | 48 | do_compile () { |
55 | sed -i s:STRIP:NOSTRIP: Makedefs | 49 | sed -i s:STRIP:NOSTRIP: Makedefs |
@@ -63,11 +57,7 @@ do_compile () { | |||
63 | echo "install-headers:" >> man/Makefile | 57 | echo "install-headers:" >> man/Makefile |
64 | echo "install-libs:" >> man/Makefile | 58 | echo "install-libs:" >> man/Makefile |
65 | 59 | ||
66 | oe_runmake "SSLLIBS=-lgnutls -L${STAGING_LIBDIR}" \ | 60 | oe_runmake |
67 | "LIBPNG=-lpng -lm -L${STAGING_LIBDIR}" \ | ||
68 | "LIBJPEG=-ljpeg -L${STAGING_LIBDIR}" \ | ||
69 | "LIBZ=-lz -L${STAGING_LIBDIR}" \ | ||
70 | "-I." | ||
71 | } | 61 | } |
72 | 62 | ||
73 | do_install () { | 63 | do_install () { |