summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-08-15 09:18:21 -0700
committerBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-08-15 09:18:21 -0700
commit08ffe9b3df748d33a56ee56a541004c786d5dbea (patch)
treebf6f4be98f44acfb7d119ac755eb79fcd2689683
parent24a1a24ad5a660ed91a34961a9c97d870c403180 (diff)
downloadslackbuilds-08ffe9b3df748d33a56ee56a541004c786d5dbea.tar.gz
academic/ITK: Remove unnecessary pkg-config file.
-rw-r--r--academic/ITK/ITK.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index 70289ee57e..c2c5f18c71 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -100,6 +100,9 @@ cd build
make install DESTDIR=$PKG
cd ..
+# remove pkg-config file for openjpeg since this overwrites system package for something that should be internal to ITK
+rm -rf $PKG/usr/lib64/pkgconfig
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true