summaryrefslogtreecommitdiff
path: root/academic/fann/fann.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 00:24:13 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 00:24:13 +0000
commitbadb5b870abfb2657aca3be52b84160fbac41121 (patch)
treea8204d1d1f9a69eb45e49b5f2a3044ccb0584a91 /academic/fann/fann.SlackBuild
parente9fde4660d746919adb36258c1ad494d2d536704 (diff)
downloadslackbuilds-badb5b870abfb2657aca3be52b84160fbac41121.tar.gz
academic/fann: Fix .pc file location.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/fann/fann.SlackBuild')
-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 \