Skip to content

Commit

Permalink
app-shells/zsh: Sync live ebuild.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
Lars Wendler committed Aug 29, 2017
1 parent 362bd5a commit 8c66730
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions app-shells/zsh/zsh-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [[ ${PV} == 9999* ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
SRC_URI="http://www.zsh.org/pub/${P}.tar.gz
doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
fi

Expand Down Expand Up @@ -74,7 +74,21 @@ src_prepare() {
}

src_configure() {
local myconf=()
local myconf=(
--bindir="${EPREFIX}"/bin
--libdir="${EPREFIX}"/usr/$(get_libdir)
--enable-etcdir="${EPREFIX}"/etc/zsh
--enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
--enable-function-subdirs
--with-tcsetpgrp
$(use_enable maildir maildir-support)
$(use_enable pcre)
$(use_enable caps cap)
$(use_enable unicode multibyte)
$(use_enable gdbm )
)

if use static ; then
myconf+=( --disable-dynamic )
Expand All @@ -95,21 +109,7 @@ src_configure() {
append-ldflags -Wl,-x
fi

econf \
--bindir="${EPREFIX}"/bin \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--enable-etcdir="${EPREFIX}"/etc/zsh \
--enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
--enable-function-subdirs \
--with-tcsetpgrp \
$(use_enable maildir maildir-support) \
$(use_enable pcre) \
$(use_enable caps cap) \
$(use_enable unicode multibyte) \
$(use_enable gdbm ) \
"${myconf[@]}"
econf "${myconf[@]}"

if use static ; then
# compile all modules statically, see Bug #27392
Expand Down

0 comments on commit 8c66730

Please sign in to comment.