Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195780 | Differences between
and this patch

Collapse All | Expand All

(-)/var/tmp/mapserver-4.10.3.ebuild (-3 / +6 lines)
Lines 14-20 Link Here
14
SRC_URI="http://download.osgeo.org/mapserver/${P}.tar.gz"
14
SRC_URI="http://download.osgeo.org/mapserver/${P}.tar.gz"
15
15
16
LICENSE="MIT"
16
LICENSE="MIT"
17
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86 ~x86-macos"
18
18
19
#I must check for mygis use flag availability
19
#I must check for mygis use flag availability
20
#"mono"
20
#"mono"
Lines 46-51 Link Here
46
46
47
WEBAPP_MANUAL_SLOT=yes
47
WEBAPP_MANUAL_SLOT=yes
48
48
49
GD_PREFIX=`gdlib-config --includedir|sed 's!/include!!'`
50
49
want_apache
51
want_apache
50
52
51
cd_script() {
53
cd_script() {
Lines 177-182 Link Here
177
		$(use_with flash ming)\
179
		$(use_with flash ming)\
178
		$(use_with java)\
180
		$(use_with java)\
179
		$(use_with threads)\
181
		$(use_with threads)\
182
		--with-gd=$GD_PREFIX \
180
		${myconf}\
183
		${myconf}\
181
		|| die "econf failed"
184
		|| die "econf failed"
182
185
Lines 252-265 Link Here
252
			for i in 4 5; do
255
			for i in 4 5; do
253
				cd_script php$i ${step}
256
				cd_script php$i ${step}
254
				uses_php$i
257
				uses_php$i
255
				EXT_DIR="$(${PHPCONFIG} --extension-dir)"
258
				EXT_DIR="$(${PHPCONFIG} --extension-dir|sed s!^${EPREFIX}!!)"
256
				dodir ${EXT_DIR}
259
				dodir ${EXT_DIR}
257
				cp *.so ${ED}/${EXT_DIR} || \
260
				cp *.so ${ED}/${EXT_DIR} || \
258
					die "Unable to setup php5 mapscript support"
261
					die "Unable to setup php5 mapscript support"
259
			done
262
			done
260
		else
263
		else
261
			cd_script php3 ${step}
264
			cd_script php3 ${step}
262
			EXT_DIR="$(${PHPCONFIG} --extension-dir)"
265
			EXT_DIR="$(${PHPCONFIG} --extension-dir|sed s!^${EPREFIX}!!)"
263
			dodir ${EXT_DIR}
266
			dodir ${EXT_DIR}
264
			cp *.so ${ED}/${EXT_DIR} || \
267
			cp *.so ${ED}/${EXT_DIR} || \
265
				die "Unable to setup php4 mapscript support"
268
				die "Unable to setup php4 mapscript support"

Return to bug 195780