diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-12-24 00:57:09 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-12-24 00:57:09 +0300 |
commit | 1e58ec55e3d0b369eee692f7302bca81303cff44 (patch) | |
tree | 710933f1bfc406e202db339aab8ebc0296cc5991 | |
parent | dd0bc2fdee6f3d7fbb6dcd37879339f16d31de2a (diff) | |
download | samba-1e58ec55e3d0b369eee692f7302bca81303cff44.tar.gz |
No ctdb at illumos yet
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 383385c764..2f2ff6855f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,9 @@ #!/usr/bin/make -f # By Jelmer Vernooij <jelmer@samba.org> # + +include /usr/share/dpkg/architecture.mk + DESTDIR = $(CURDIR)/debian/tmp export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed @@ -31,6 +34,11 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) WAF += -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif + +ifneq (illumos,$(DEB_HOST_ARCH_OS)) +ctdb := --with-ctdb=/usr --with-cluster-support +endif + conf_args = \ --prefix=/usr \ --enable-fhs \ @@ -57,11 +65,11 @@ conf_args = \ --with-statedir=/var/lib/samba \ --with-cachedir=/var/cache/samba \ --disable-avahi \ - --with-ctdb=/usr --with-cluster-support \ --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE,pytevent,iniparser \ --builtin-libraries=replace,ccan \ + $(ctdb) \ --minimum-library-version="$(shell ./debian/autodeps.py --minimum-library-version)" %: |