summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999.ebuild
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-08-27 11:07:52 +0200
committerFabian Groffen <grobian@gentoo.org>2017-08-27 11:08:09 +0200
commitf274e813d08b1bcae5088b7c711b34e2fc994655 (patch)
tree320d5e2455bf27554d5576e77b28c95a19c525e6 /dev-vcs/git/git-9999.ebuild
parent487eeee2642f9af47d342ab57bef98d7d5e44a30 (diff)
downloadgentoo-f274e813d08b1bcae5088b7c711b34e2fc994655.tar.gz
gentoo-f274e813d08b1bcae5088b7c711b34e2fc994655.tar.xz
dev-vcs/git: fix building on Solaris 10 sparc
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-vcs/git/git-9999.ebuild')
-rw-r--r--dev-vcs/git/git-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index 98deedf0d9f..aa7cf5a5b93 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -157,7 +157,7 @@ exportmakeopts() {
myopts+=" NO_CURL=YesPlease"
fi
- # broken assumptions, because of broken build system ...
+ # broken assumptions, because of static build system ...
myopts+=" NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
myopts+=" INSTALL=install TAR=tar"
myopts+=" SHELL_PATH=${EPREFIX}/bin/sh"
@@ -219,7 +219,8 @@ exportmakeopts() {
if [[ ${CHOST} == *-solaris* ]]; then
myopts+=" NEEDS_LIBICONV=YesPlease"
myopts+=" HAVE_CLOCK_MONOTONIC=1"
- myopts+=" HAVE_GETDELIM=1"
+ grep -q getdelim "${ROOT}"/usr/include/stdio.h && \
+ myopts+=" HAVE_GETDELIM=1"
fi
has_version '>=app-text/asciidoc-8.0' \