diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:09:16 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:09:16 +0100 |
commit | 8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (patch) | |
tree | f3e3dc663a60572cf6a7feb61af560b83ac81221 /kde/cmake/kdebindings | |
parent | eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a (diff) | |
download | ktown-8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428.tar.gz ktown-8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428.tar.xz |
KDE 4.9.5 for Slackware 14.0 (02jan2013)4.9.5
Diffstat (limited to 'kde/cmake/kdebindings')
-rw-r--r-- | kde/cmake/kdebindings | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kde/cmake/kdebindings b/kde/cmake/kdebindings index c422830..086f962 100644 --- a/kde/cmake/kdebindings +++ b/kde/cmake/kdebindings @@ -2,6 +2,10 @@ # architecture dependent perl modules): eval $(perl '-V:vendorarch') +# Likewise for Ruby (note that our "vendordir" is empty, so we use sitedir): +ruby_vendorlibdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') +ruby_vendorarchdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]') + mkdir -p build cd build #-DCMAKE_BACKWARDS_COMPATIBILITY:STRING="2.2" \ @@ -14,7 +18,9 @@ cd build -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ - -DCUSTOM_PERL_SITE_ARCH_DIR=$vendorarch \ + -DCUSTOM_PERL_SITE_ARCH_DIR=${vendorarch} \ + -DRUBY_VENDORARCH_DIR:PATH=${ruby_vendorarchdir} \ + -DRUBY_VENDORLIB_DIR:PATH=${ruby_vendorlibdir} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DENABLE_QYOTO:BOOL=OFF \ |