sci-astronomy/montage: workaround trailing spaces for some pkgconfig
authorSébastien Fabbro <bicatali@gentoo.org>
Thu, 9 Jun 2016 15:51:03 +0000 (15:51 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 9 Jun 2016 15:51:54 +0000 (15:51 +0000)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=585466

Package-Manager: portage-2.3.0_rc1

sci-astronomy/montage/montage-4.1.ebuild

index db6c721f65d3f9ecb1e3e28ff5ce0b2aaae63810..37e1207594211d9f1b47c11c8c2172a541820821 100644 (file)
@@ -42,7 +42,7 @@ src_prepare() {
        find . -name Makefile\* | xargs sed -i \
                -e "/^CC.*=/s:\(gcc\|cc\):$(tc-getCC):g" \
                -e "/^CFLAGS.*=/s:-g:${CFLAGS} $($(tc-getPKG_CONFIG) --cflags wcstools):g" \
-               -e "s:-I../../lib/freetype/include:$($(tc-getPKG_CONFIG) --cflags freetype2):g" \
+               -e "s:-I../../lib/freetype/include :$($(tc-getPKG_CONFIG) --cflags freetype2):g" \
                -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:g' \
                -e "s:-lwcs:$($(tc-getPKG_CONFIG) --libs wcstools):g" \
                -e "s:-lcfitsio:$($(tc-getPKG_CONFIG) --libs cfitsio):g" \