summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/fann/fann.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/academic/fann/fann.SlackBuild b/academic/fann/fann.SlackBuild
index 482ca9365c..cd11930822 100644
--- a/academic/fann/fann.SlackBuild
+++ b/academic/fann/fann.SlackBuild
@@ -53,6 +53,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix install destination of .pc file
+sed -i \
+ -e 's:/lib/pkgconfig:/lib${LIB_SUFFIX}/pkgconfig:' \
+ CMakeLists.txt
+
mkdir -p build
cd build
cmake \