media-libs/libasdcp-cth: Discard shipped waf build system.
authorMichael Weber <xmw@gentoo.org>
Thu, 2 Mar 2017 14:58:54 +0000 (15:58 +0100)
committerMichael Weber <xmw@gentoo.org>
Thu, 2 Mar 2017 17:35:37 +0000 (18:35 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

media-libs/libasdcp-cth/libasdcp-cth-0.1.2.ebuild
media-libs/libasdcp-cth/libasdcp-cth-0.1.3.ebuild

index 2ad7a280b6a816e2bf36a5d3a8e5c9dbd4f17bc6..e2aee3670fcc2cc5005d54912e2265d1ebcd0e5d 100644 (file)
@@ -19,7 +19,15 @@ IUSE=""
 RDEPEND="dev-libs/boost
        dev-libs/openssl:0"
 DEPEND="${RDEPEND}
+       dev-util/waf
        virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}"/${PN}-0.1.1-no-ldconfig.patch
        "${FILESDIR}"/${PN}-0.1.2-respect-cxxflags.patch)
+
+src_prepare() {
+       rm -r waf aclocal.m4 m4 configure{,.ac} Makefile.{am,in} || die
+       export WAF_BINARY=${EROOT}usr/bin/waf
+
+       default
+}
index 2ad7a280b6a816e2bf36a5d3a8e5c9dbd4f17bc6..e2aee3670fcc2cc5005d54912e2265d1ebcd0e5d 100644 (file)
@@ -19,7 +19,15 @@ IUSE=""
 RDEPEND="dev-libs/boost
        dev-libs/openssl:0"
 DEPEND="${RDEPEND}
+       dev-util/waf
        virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}"/${PN}-0.1.1-no-ldconfig.patch
        "${FILESDIR}"/${PN}-0.1.2-respect-cxxflags.patch)
+
+src_prepare() {
+       rm -r waf aclocal.m4 m4 configure{,.ac} Makefile.{am,in} || die
+       export WAF_BINARY=${EROOT}usr/bin/waf
+
+       default
+}