summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB/configure.rpm
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-09-17 18:15:03 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-18 04:17:18 +0200
commit77f281a6d16cd9e7a787de8d954846a840fb03b0 (patch)
tree92d49d3b8bb45e8546535060514621e485320817 /packaging/RHEL-CTDB/configure.rpm
parent1a945686a6770a0ac17bded73201368f10c65bc9 (diff)
downloadsamba-77f281a6d16cd9e7a787de8d954846a840fb03b0.tar.gz
packaging/RHEL-CTDB: fix the build
metze
Diffstat (limited to 'packaging/RHEL-CTDB/configure.rpm')
-rwxr-xr-xpackaging/RHEL-CTDB/configure.rpm10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/RHEL-CTDB/configure.rpm b/packaging/RHEL-CTDB/configure.rpm
index 5e2b88e778..222fec04df 100755
--- a/packaging/RHEL-CTDB/configure.rpm
+++ b/packaging/RHEL-CTDB/configure.rpm
@@ -2,14 +2,14 @@
case `uname -m` in
x86_64)
- _libarch=lib64
+ _libarch="/lib64"
;;
*)
- _libarch=lib
+ _libarch="/lib"
;;
esac
-_libarchdir=/usr/${_libarch}
+_libarchdir=/usr${_libarch}
_prefix=/usr
_sysconfdir=/etc
@@ -32,7 +32,7 @@ CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
--with-configdir=${_sysconfdir}/samba \
--libdir=${_libarchdir} \
--with-modulesdir=${_libarchdir}/samba \
- --with-pammodulesdir=/${_libarch}/security \
+ --with-pammodulesdir=${_libarch}/security \
--with-lockdir=/var/lib/samba \
--with-logfilebase=/var/log/samba \
--mandir=${_mandir} \
@@ -44,7 +44,7 @@ CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
--with-acl-support \
--with-ads \
--with-automount \
- --with-fhs \
+ --enable-fhs \
--with-pam_smbpass \
--with-libsmbclient \
--with-libsmbsharemodes \