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