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

Collapse All | Expand All

(-)../portage.main.converted/sci-libs/gdal/gdal-1.4.2.ebuild (-4 / +4 lines)
Lines 78-88 Link Here
78
78
79
	# It can't find this
79
	# It can't find this
80
	if useq ogdi ; then
80
	if useq ogdi ; then
81
	    use_conf="--with-ogdi=/usr/$(get_libdir) ${use_conf}"
81
	    use_conf="--with-ogdi=${EPREFIX}/usr/$(get_libdir) ${use_conf}"
82
	fi
82
	fi
83
83
84
	if useq mysql ; then
84
	if useq mysql ; then
85
	    use_conf="--with-mysql=/usr/bin/mysql_config ${use_conf}"
85
	    use_conf="--with-mysql=${EPREFIX}/usr/bin/mysql_config ${use_conf}"
86
	fi
86
	fi
87
87
88
	if useq gif ; then
88
	if useq gif ; then
Lines 96-109 Link Here
96
	fi
96
	fi
97
97
98
	if useq python ; then
98
	if useq python ; then
99
	    use_conf="--with-pymoddir=/usr/$(get_libdir)/python${PYVER}/site-packages \
99
	    use_conf="--with-pymoddir=${EPREFIX}/usr/$(get_libdir)/python${PYVER}/site-packages \
100
	    ${use_conf}"
100
	    ${use_conf}"
101
	else
101
	else
102
	    use_conf="--with-python=no ${use_conf}"
102
	    use_conf="--with-python=no ${use_conf}"
103
	fi
103
	fi
104
104
105
	# Fix doc path just in case
105
	# Fix doc path just in case
106
	sed -i -e "s:@exec_prefix@/doc:/usr/share/doc/${PF}/html:g" GDALmake.opt.in
106
	sed -i -e "s:@exec_prefix@/doc:${EPREFIX}/usr/share/doc/${PF}/html:g" GDALmake.opt.in
107
107
108
	econf ${pkg_conf} ${use_conf} || die "econf failed"
108
	econf ${pkg_conf} ${use_conf} || die "econf failed"
109
	# parallel makes fail on the ogr stuff (C++, what can I say?)
109
	# parallel makes fail on the ogr stuff (C++, what can I say?)

Return to bug 195759