openexr: resolve file conflicts against ilmbase.
This commit is contained in:
parent
af732a271b
commit
1ee6c04a58
1 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openexr'
|
# Template file for 'openexr'
|
||||||
pkgname=openexr
|
pkgname=openexr
|
||||||
version=2.4.1
|
version=2.4.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -27,13 +27,10 @@ post_install() {
|
||||||
|
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
|
|
||||||
# Remove files which are already in ilmbase
|
# Remove files which are already in ilmbase{,-devel}
|
||||||
for d in usr/include/OpenEXR usr/lib/cmake/IlmBase usr/lib/pkgconfig usr/lib; do
|
for pkg in ilmbase ilmbase-devel; do
|
||||||
for f in ${XBPS_CROSS_BASE}/$d/*; do
|
for f in $(xbps-query -Rf $pkg|awk '{print $1}'); do
|
||||||
f="${f##*/}"
|
rm -f "${DESTDIR}/$f"
|
||||||
if [ -f "${DESTDIR}/$d/$f" ]; then
|
|
||||||
rm -v "${DESTDIR}/$d/$f"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue