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>
This commit is contained in:
Andrew Strong 2012-04-22 02:16:10 -05:00 committed by Erik Hanson
parent 801dca6941
commit 9c7b0766e4
1 changed files with 2 additions and 1 deletions

View File

@ -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 ..