summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-06-09 15:51:03 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-06-09 15:51:54 +0000
commit0766ccc20ca20bd6e356f11714de683182b21a07 (patch)
treeea97b7ea59ee2f29d623a8b5aaf0d3dc9efe6dfd /sci-astronomy/montage
parentdev-libs/yajl: remove old (diff)
downloadgentoo-0766ccc20ca20bd6e356f11714de683182b21a07.tar.gz
gentoo-0766ccc20ca20bd6e356f11714de683182b21a07.tar.bz2
gentoo-0766ccc20ca20bd6e356f11714de683182b21a07.zip
sci-astronomy/montage: workaround trailing spaces for some pkgconfig
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=585466 Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'sci-astronomy/montage')
-rw-r--r--sci-astronomy/montage/montage-4.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-astronomy/montage/montage-4.1.ebuild b/sci-astronomy/montage/montage-4.1.ebuild
index db6c721f65d3..37e120759421 100644
--- a/sci-astronomy/montage/montage-4.1.ebuild
+++ b/sci-astronomy/montage/montage-4.1.ebuild
@@ -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" \