|
|
|
|
|
|
SLOT="0" |
SLOT="6" |
|
|
IUSE="tcltk png jpeg tiff postgres odbc motif gdal |
IUSE="tcltk png jpeg tiff postgres odbc motif mysql blas lapack fftw truetype opengl" |
mysql blas lapack X fftw truetype opengl" |
|
|
|
|
virtual/x11 |
|
>=sci-libs/gdal-1.1.9 |
|
|
blas? ( >=sci-libs/blas-atlas ) |
blas? ( virtual/blas ) |
|
|
gdal? ( >=sci-libs/gdal-1.1.9 |
|
virtual/x11 ) |
|
|
|
lapack? ( >=sci-libs/lapack ) |
lapack? ( virtual/lapack ) |
|
|
truetype? ( >=media-libs/freetype-2.0 ) |
truetype? ( >=media-libs/freetype-2.0 )" |
X? ( virtual/x11 )" |
|
|
|
pkg_setup() { |
|
# Grass 6.0.0 will not compile with gdal and without X... |
|
if ! use X and use gdal; then |
|
einfo "Grass will not compile with GDAL and without X" |
|
einfo "Correct USE flags to disable GDAL or to enable X" |
|
die "Please set correct USE flags!" |
|
fi |
|
} |
|
|
|
|
|
MYCONF=" --prefix=/usr --without-readline " |
MYCONF=" --prefix=/usr --without-readline --with-gdal " |
|
|
`use_with X x` \ |
|
`use_with gdal gdal` \ |
|