From 3b7602caaa6b420bd59810a0b68632b820d2c1d0 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 12 May 2011 16:09:15 +0200 Subject: [PATCH] sam: fixed to use pkg-config to find out the installation directories --- base/sam/sam.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/sam/sam.conf b/base/sam/sam.conf index 27c507294..f166a4886 100644 --- a/base/sam/sam.conf +++ b/base/sam/sam.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sam/sam.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # Copyright (C) 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -33,8 +33,8 @@ EOT cp -vf $confdir/*.lua $root$datadir/ # install sam extensions - pkgdatadir=$root$( lua-config --pkgdatadir )/sam - pkglibdir=$root$( lua-config --pkglibdir )/sam + pkgdatadir=$root$( pkg-config --variable=INSTALL_LMOD lua )/sam + pkglibdir=$root$( pkg-config --variable=INSTALL_CMOD lua )/sam mkdir -p $pkgdatadir mkdir -p $pkglibdir