aboutsummaryrefslogtreecommitdiff
path: root/misc/projectM
diff options
context:
space:
mode:
authorAndrew Strong <andrew@andrews-corner.org>2012-04-22 02:16:10 -0500
committerErik Hanson <erik@slackbuilds.org>2012-04-22 18:06:20 -0500
commit9c7b0766e453122a459603e09e9d65064684e83c (patch)
tree311c7c6fa573b92b1aad4359ea0f480f457474cc /misc/projectM
parent801dca6941024beb846a28dce68e24887410ca33 (diff)
misc/projectM: Fixed generated pkgconfig file
http://forum.videolan.org/viewtopic.php?f=13&t=77264 Essentially, unless a libdir is passed to projectM's cmake config, it ($libdir) is left blank. As result, the .pc file has a blank, i.e. "-L -lprojectM" instead of "-L/usr/lib -lprojectM" and this causes at least VLC to bail out. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/projectM')
-rw-r--r--misc/projectM/projectM.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild
index 093fc100f7eb..e3094a9833a5 100644
--- a/misc/projectM/projectM.SlackBuild
+++ b/misc/projectM/projectM.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=projectM
VERSION=${VERSION:-2.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +57,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..