Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 645026
Collapse All | Expand All

(-)a/dev-libs/libxml2/libxml2-2.9.7.ebuild (+11 lines)
Lines 157-162 Link Here
157
			exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
157
			exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
158
			install
158
			install
159
		python_foreach_impl python_optimize
159
		python_foreach_impl python_optimize
160
161
		# On cygwin the module is named cygxml2mod.dll. This is generally
162
		# correct, but python can only handle modules with lib prefix.
163
		if use elibc_Cygwin; then
164
			python_foreach_impl libxml2_py_cygwin_rename
165
		fi
160
	fi
166
	fi
161
}
167
}
162
168
Lines 206-208 Link Here
206
	emake "$@"
212
	emake "$@"
207
	popd > /dev/null
213
	popd > /dev/null
208
}
214
}
215
216
libxml2_py_cygwin_rename() {
217
	mv "${D}$(python_get_sitedir)"/{cyg,lib}xml2mod.dll \
218
				|| die "$EPYTHON cygxml2mod.dll rename failed"
219
}

Return to bug 645026