MesaLib-git: fix -devel issue

Thanks to @xtraeme

With this package installed, catalyst would be replaced by libGL-git,
and the user could face cyclical replacement.
This commit is contained in:
John Galt 2014-09-22 13:11:12 -07:00
parent f5a1053858
commit 69e67c6198
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'MesaLib-git'. # Template build file for 'MesaLib-git'.
pkgname=MesaLib-git pkgname=MesaLib-git
version=20140920 version=20140920
revision=1 revision=2
wrksrc="Mesa-git-${version}" wrksrc="Mesa-git-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm
@ -143,9 +143,9 @@ MesaLib-devel-git_package() {
depends="glproto dri2proto>=2.1 dri3proto presentproto libxshmfence-devel depends="glproto dri2proto>=2.1 dri3proto presentproto libxshmfence-devel
libXext-devel libXxf86vm-devel libXdamage-devel expat-devel libXext-devel libXxf86vm-devel libXdamage-devel expat-devel
libXfixes-devel libX11-devel libxcb-devel libdrm-devel>=2.4.39 libXfixes-devel libX11-devel libxcb-devel libdrm-devel>=2.4.39
libGL-git>=${version}_${revision} libGLES-git>=${version}_${revision} libGL libGLES>=${version}_${revision} libEGL>=${version}_${revision}
libEGL-git>=${version}_${revision} libOSMesa-git>=${version}_${revision} libOSMesa>=${version}_${revision} libgbm>=${version}_${revision}
libgbm-git>=${version}_${revision} libwayland-egl-git>=${version}_${revision}" libwayland-egl>=${version}_${revision}"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
depends+=" libxatracker-git>=${version}_${revision}" depends+=" libxatracker-git>=${version}_${revision}"
fi fi