Lines 29-42
Link Here
|
29 |
if [ "${PV#9999}" != "${PV}" ]; then |
29 |
if [ "${PV#9999}" != "${PV}" ]; then |
30 |
KEYWORDS="" |
30 |
KEYWORDS="" |
31 |
else |
31 |
else |
32 |
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
32 |
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
33 |
fi |
33 |
fi |
34 |
IUSE="10bit custom-cflags debug +interlaced pic static-libs +threads" |
34 |
IUSE="10bit custom-cflags debug +interlaced pic static-libs +threads" |
35 |
|
35 |
|
36 |
RDEPEND="" |
36 |
RDEPEND="" |
37 |
DEPEND="amd64? ( >=dev-lang/yasm-1 ) |
37 |
DEPEND="amd64? ( >=dev-lang/yasm-1 ) |
38 |
x86? ( >=dev-lang/yasm-1 ) |
38 |
x86? ( >=dev-lang/yasm-1 ) |
39 |
x86-fbsd? ( >=dev-lang/yasm-1 )" |
39 |
x86-fbsd? ( >=dev-lang/yasm-1 ) |
|
|
40 |
x86-macos? ( >=dev-lang/yasm-1 ) |
41 |
x64-macos? ( >=dev-lang/yasm-1 ) |
42 |
x86-solaris? ( >=dev-lang/yasm-1 ) |
43 |
x64-solaris? ( >=dev-lang/yasm-1 )" |
40 |
|
44 |
|
41 |
if [ "${PV#9999}" = "${PV}" ]; then |
45 |
if [ "${PV#9999}" = "${PV}" ]; then |
42 |
S="${WORKDIR}/${MY_P}" |
46 |
S="${WORKDIR}/${MY_P}" |
Lines 44-49
Link Here
|
44 |
|
48 |
|
45 |
DOCS="AUTHORS doc/*.txt" |
49 |
DOCS="AUTHORS doc/*.txt" |
46 |
|
50 |
|
|
|
51 |
src_prepare() { |
52 |
# Solaris' /bin/sh doesn't grok the syntax in these files |
53 |
sed -i -e '1c\#!/usr/bin/env sh' configure version.sh || die |
54 |
# for sparc-solaris |
55 |
if [[ ${CHOST} == sparc*-solaris* ]] ; then |
56 |
sed -i -e 's:-DPIC::g' configure || die |
57 |
fi |
58 |
# for OSX |
59 |
sed -i -e "s|-arch x86_64||g" configure || die |
60 |
} |
61 |
|
47 |
src_configure() { |
62 |
src_configure() { |
48 |
tc-export CC |
63 |
tc-export CC |
49 |
|
64 |
|