glew19-devel: fix wrong conflicts.

This commit is contained in:
Juan RP 2015-11-10 17:56:51 +01:00
parent 588e13c6f1
commit 47ad3756b2

View file

@ -1,7 +1,7 @@
# Template build file for 'glew19'. # Template build file for 'glew19'.
pkgname=glew19 pkgname=glew19
version=1.9.0 version=1.9.0
revision=1 revision=2
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libXext-devel libXmu-devel libXi-devel MesaLib-devel" makedepends="libXext-devel libXmu-devel libXi-devel MesaLib-devel"
short_desc="The OpenGL Extension Wrangler Library (1.9 branch)" short_desc="The OpenGL Extension Wrangler Library (1.9 branch)"
@ -16,13 +16,12 @@ do_build() {
sed -i -e "s|lib64|lib|" config/Makefile.linux sed -i -e "s|lib64|lib|" config/Makefile.linux
make CFLAGS.EXTRA="-fPIC $CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" ${makejobs} make CFLAGS.EXTRA="-fPIC $CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
} }
do_install() { do_install() {
make GLEW_DEST=${DESTDIR}/usr install make GLEW_DEST=${DESTDIR}/usr install
} }
glew19-devel_package() { glew19-devel_package() {
conflicts="glew-devel" conflicts="glew-devel>=0"
depends="glew19-${version}_${revision}" depends="glew19-${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {