Lines 6-13
Link Here
|
6 |
|
6 |
|
7 |
DESCRIPTION="open source graph drawing software" |
7 |
DESCRIPTION="open source graph drawing software" |
8 |
HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" |
8 |
HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" |
9 |
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz |
9 |
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" |
10 |
ppc-macos? ( mirror://gentoo/${P}-panic.patch.tar.bz2 )" |
|
|
11 |
|
10 |
|
12 |
LICENSE="as-is ATT" |
11 |
LICENSE="as-is ATT" |
13 |
SLOT="0" |
12 |
SLOT="0" |
Lines 27-39
Link Here
|
27 |
src_unpack() { |
26 |
src_unpack() { |
28 |
unpack ${A} |
27 |
unpack ${A} |
29 |
cd ${S} |
28 |
cd ${S} |
30 |
epatch ${FILESDIR}/${P}-build.patch |
|
|
31 |
|
32 |
if use ppc-macos; then |
33 |
# fixes weird make issue |
34 |
epatch ${WORKDIR}/${P}-panic.patch |
35 |
epatch ${FILESDIR}/${P}-common_h.patch |
36 |
fi |
37 |
|
29 |
|
38 |
# Run gnuconfig_update on all arches, needed at least for mips |
30 |
# Run gnuconfig_update on all arches, needed at least for mips |
39 |
gnuconfig_update |
31 |
gnuconfig_update |
Lines 41-47
Link Here
|
41 |
if ! use ppc-macos; then |
33 |
if ! use ppc-macos; then |
42 |
#EPATCH_OPTS="-p1 -d${S}" epatch ${FILESDIR}/${P}-fontconfig-externalgd.diff || die "Failed to patch" |
34 |
#EPATCH_OPTS="-p1 -d${S}" epatch ${FILESDIR}/${P}-fontconfig-externalgd.diff || die "Failed to patch" |
43 |
einfo "Running aclocal/automake/autoconf" |
35 |
einfo "Running aclocal/automake/autoconf" |
44 |
aclocal && libtoolize --copy --force && automake && autoconf || die "Failed to aclocal/libtoolize/automake/autoconf" |
36 |
aclocal && libtoolize --copy --force && automake -a -c -f && autoconf || die "Failed to aclocal/libtoolize/automake/autoconf" |
45 |
fi |
37 |
fi |
46 |
} |
38 |
} |
47 |
|
39 |
|
Lines 52-58
Link Here
|
52 |
# compile without tcltk support |
44 |
# compile without tcltk support |
53 |
use tcltk || myconf="${myconf} --without-tcl --without-tk" |
45 |
use tcltk || myconf="${myconf} --without-tcl --without-tk" |
54 |
|
46 |
|
55 |
myconf="${myconf} --enable-dynagraph --with-mylibgd" |
47 |
myconf="${myconf} --disable-dynagraph --with-mylibgd" |
56 |
use ppc-macos && myconf="${myconf} --with-expatincludedir=/usr/X11R6/include --with-expatlibdir=/usr/X11R6/lib --with-fontconfigincludedir=/usr/X11R6/include --with-fontconfiglibdir=/usr/X11R6/lib" |
48 |
use ppc-macos && myconf="${myconf} --with-expatincludedir=/usr/X11R6/include --with-expatlibdir=/usr/X11R6/lib --with-fontconfigincludedir=/usr/X11R6/include --with-fontconfiglibdir=/usr/X11R6/lib" |
57 |
econf ${myconf} || die "econf failed" |
49 |
econf ${myconf} || die "econf failed" |
58 |
|
50 |
|