Lines 30-39
Link Here
|
30 |
sys-apps/man |
30 |
sys-apps/man |
31 |
>=sci-libs/proj-4.4.7 |
31 |
>=sci-libs/proj-4.4.7 |
32 |
sci-libs/gdal |
32 |
sci-libs/gdal |
33 |
blas? ( virtual/blas ) |
|
|
34 |
fftw? ( =sci-libs/fftw-2* ) |
33 |
fftw? ( =sci-libs/fftw-2* ) |
35 |
jpeg? ( media-libs/jpeg ) |
34 |
jpeg? ( media-libs/jpeg ) |
36 |
lapack? ( virtual/lapack ) |
|
|
37 |
motif? ( x11-libs/openmotif ) |
35 |
motif? ( x11-libs/openmotif ) |
38 |
postgres? ( >=dev-db/postgresql-7.3 ) |
36 |
postgres? ( >=dev-db/postgresql-7.3 ) |
39 |
mysql? ( dev-db/mysql ) |
37 |
mysql? ( dev-db/mysql ) |
Lines 49-54
Link Here
|
49 |
virtual/x11" |
47 |
virtual/x11" |
50 |
|
48 |
|
51 |
src_unpack() { |
49 |
src_unpack() { |
|
|
50 |
if built_with_use dev-lang/tcl thread; then |
51 |
ewarn "GRASS will not work with TCL compiled with threads!"; |
52 |
die "emerge TCL without threads"; |
53 |
fi |
54 |
if built_with_use dev-lang/tk thread; then |
55 |
ewarn "GRASS will not work with Tk compiled with threads!"; |
56 |
die "emerge tk without threads"; |
57 |
fi |
58 |
|
52 |
unpack ${A} |
59 |
unpack ${A} |
53 |
|
60 |
|
54 |
cd ${S} |
61 |
cd ${S} |
Lines 56-63
Link Here
|
56 |
} |
63 |
} |
57 |
|
64 |
|
58 |
src_compile() { |
65 |
src_compile() { |
59 |
|
66 |
|
60 |
MYCONF=" --with-cxx --enable-shared --with-gdal=/usr/bin/gdal-config" |
67 |
MYCONF=" --with-cxx --enable-shared --with-gdal=/usr/bin/gdal-config --with-tcltk" |
61 |
|
68 |
|
62 |
if use truetype; then |
69 |
if use truetype; then |
63 |
MYCONF="${MYCONF} --with-freetype-includes=/usr/include/freetype2/" |
70 |
MYCONF="${MYCONF} --with-freetype-includes=/usr/include/freetype2/" |
Lines 82-92
Link Here
|
82 |
|
89 |
|
83 |
export LD_LIBRARY_PATH="/${WORKDIR}/image/usr/grass60/$(get_libdir):${LD_LIBRARY_PATH}" |
90 |
export LD_LIBRARY_PATH="/${WORKDIR}/image/usr/grass60/$(get_libdir):${LD_LIBRARY_PATH}" |
84 |
./configure \ |
91 |
./configure \ |
85 |
`use_with tcltk` \ |
|
|
86 |
`use_with postgres` \ |
92 |
`use_with postgres` \ |
87 |
`use_with motif` \ |
93 |
`use_with motif` \ |
88 |
`use_with blas` \ |
|
|
89 |
`use_with lapack` \ |
90 |
`use_with fftw` \ |
94 |
`use_with fftw` \ |
91 |
`use_with truetype freetype` \ |
95 |
`use_with truetype freetype` \ |
92 |
`use_with jpeg` \ |
96 |
`use_with jpeg` \ |
Lines 96-101
Link Here
|
96 |
`use_enable amd64 64bit` \ |
100 |
`use_enable amd64 64bit` \ |
97 |
`use_with opengl` \ |
101 |
`use_with opengl` \ |
98 |
`use_with readline` \ |
102 |
`use_with readline` \ |
|
|
103 |
`use_with nls` \ |
99 |
${MYCONF} || die "Error: configure failed!" |
104 |
${MYCONF} || die "Error: configure failed!" |
100 |
emake -j1 || die "Error: emake failed!" |
105 |
emake -j1 || die "Error: emake failed!" |
101 |
} |
106 |
} |