x11-libs/motif: Fix build failure with USE=-xft.
authorUlrich Müller <ulm@gentoo.org>
Thu, 24 Mar 2016 15:06:28 +0000 (16:06 +0100)
committerUlrich Müller <ulm@gentoo.org>
Thu, 24 Mar 2016 15:06:28 +0000 (16:06 +0100)
Bug: 578168

Package-Manager: portage-2.2.28

x11-libs/motif/motif-2.3.5.ebuild

index 7cdb19dc4eec39ab82d0c76dd6b726779eb07083..5963a13f7d4aec2608373ea578b1fcf7a8be137e 100644 (file)
@@ -46,6 +46,9 @@ src_prepare() {
        # add X.Org vendor string to aliases for virtual bindings
        echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias
 
+       # remove header file which shouldn't be in the tarball #578168
+       rm lib/Xm/Xm.h || die
+
        AT_M4DIR=. eautoreconf
 
        # get around some LANG problems in make (#15119)