From badb5b870abfb2657aca3be52b84160fbac41121 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 7 Jan 2016 00:24:13 +0000 Subject: [PATCH] academic/fann: Fix .pc file location. Signed-off-by: David Spencer --- academic/fann/fann.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) 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 \