net-wireless/dump1090: Fix ebuild.
authorMichael Weber <xmw@gentoo.org>
Sun, 19 Aug 2018 22:04:45 +0000 (00:04 +0200)
committerMichael Weber <xmw@gentoo.org>
Sun, 19 Aug 2018 22:04:59 +0000 (00:04 +0200)
- line continuation
- level of string escape HTMLPATH
- set DUMP1090_VERSION to omit git --describe call.

Package-Manager: Portage-2.3.45, Repoman-2.3.10

net-wireless/dump1090/dump1090-0.0_p20180509.ebuild

index 73b4a4c99b084c6f49ec329d27d273cd3895ec22..219eca7ce773789ab31fdbbad6592368a24f975d 100644 (file)
@@ -32,9 +32,10 @@ DEPEND="${RDEPEND}"
 
 src_compile() {
        emake CC="$(tc-getCC)" \
-               UNAME="Linux"
+               UNAME="Linux" \
+               DUMP1090_VERSION=${PV} \
                CFLAGS="$($(tc-getPKG_CONFIG) --cflags librtlsdr) ${CFLAGS}" \
-               EXTRACFLAGS="-DHTMLPATH='/usr/share/dump1090/html'" \
+               EXTRACFLAGS="-DHTMLPATH=\\\"/usr/share/dump1090/html\\\""\
                LIBS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs librtlsdr) -lm -lpthread"
 }