app-emacs/mpg123-el: Honour CPPFLAGS too.
authorUlrich Müller <ulm@gentoo.org>
Sun, 5 Feb 2017 11:06:28 +0000 (12:06 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 5 Feb 2017 11:06:28 +0000 (12:06 +0100)
Thanks to David Seifert for pointing this out.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-emacs/mpg123-el/mpg123-el-1.60.ebuild

index 8514362a9be8f25a3673853b49c1bea0f8dc6fa5..c63dc5cac229e0d01ab4077f20990537cdf76897 100644 (file)
@@ -20,8 +20,8 @@ RDEPEND="media-sound/mpg123
 SITEFILE="50${PN}-gentoo.el"
 
 src_compile() {
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tagput tagput.c || die
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o id3put id3put.c || die
+       $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o tagput tagput.c || die
+       $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o id3put id3put.c || die
        elisp-compile *.el
 }