/[gentoo-x86]/sci-geosciences/grass/grass-6.4.2.ebuild
Gentoo

Diff of /sci-geosciences/grass/grass-6.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.2 2012/05/24 19:33:27 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.3 2012/05/28 07:40:15 scarabeus Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7PYTHON_DEPEND="python? 2" 7PYTHON_DEPEND="python? 2"
8 8
145 " 145 "
146 146
147 use opengl && myconf+=" --with-tcltk" 147 use opengl && myconf+=" --with-tcltk"
148 use motif && use opengl && myconf+=" --with-glw" 148 use motif && use opengl && myconf+=" --with-glw"
149 use motif || myconf+=" --without-glw" 149 use motif || myconf+=" --without-glw"
150
151 if use wxwidgets; then
152 WX_BUILD=yes
153 WX_GTK_VER=2.8
154 need-wxwidgets unicode
155 myconf+="
156 --without-tcltk
157 --with-wxwidgets=${WX_CONFIG}
158 "
159 else
160 WX_BUILD=no
161 # use tcl gui if wxwidgets are disabled
162 myconf+="
163 --with-tcltk
164 --without-wxwidgets
165 "
166 fi
150 else 167 else
151 myconf+=" 168 myconf+="
169 --without-glw
152 --without-opengl 170 --without-opengl
153 --without-glw 171 --without-tcltk
172 --without-wxwidgets
154 --without-x 173 --without-x
155 "
156 fi
157
158 if use wxwidgets; then
159 WX_BUILD=yes
160 WX_GTK_VER=2.8
161 need-wxwidgets unicode
162 myconf+="
163 --without-tcltk
164 --with-wxwidgets=${WX_CONFIG}
165 "
166 else
167 WX_BUILD=no
168 # use tcl gui if wxwidgets are disabled
169 myconf+="
170 --with-tcltk
171 --without-wxwidgets
172 " 174 "
173 fi 175 fi
174 176
175 econf \ 177 econf \
176 --with-gdal=$(type -P gdal-config) \ 178 --with-gdal=$(type -P gdal-config) \

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20