From 861a205cf16b273c446fb079a7aee2feacc7dfe0 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sun, 29 Jan 2006 19:38:55 +0000 Subject: [PATCH] Fix link failure of static-fd on Mandrake with --disable-nls in spec file. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2774 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/mandrake/bacula.spec.in | 4 ++++ bacula/platforms/redhat/bacula.spec.in | 4 ++++ bacula/platforms/suse/bacula.spec.in | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index d9a08e1907..f6a1730653 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -613,6 +613,9 @@ export LDFLAGS=-L/usr/lib64/mysql --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --enable-client-only \ + %if %{mdk} + --disable-nls \ + %endif --enable-static-fd make @@ -1238,6 +1241,7 @@ fi %changelog * Sun Jan 29 2006 D. Scott Barninger - add centos3 build tag +- fix link error of static-fd on Mandrake with --disable-nls * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index d9a08e1907..f6a1730653 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -613,6 +613,9 @@ export LDFLAGS=-L/usr/lib64/mysql --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --enable-client-only \ + %if %{mdk} + --disable-nls \ + %endif --enable-static-fd make @@ -1238,6 +1241,7 @@ fi %changelog * Sun Jan 29 2006 D. Scott Barninger - add centos3 build tag +- fix link error of static-fd on Mandrake with --disable-nls * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index d9a08e1907..f6a1730653 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -613,6 +613,9 @@ export LDFLAGS=-L/usr/lib64/mysql --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --enable-client-only \ + %if %{mdk} + --disable-nls \ + %endif --enable-static-fd make @@ -1238,6 +1241,7 @@ fi %changelog * Sun Jan 29 2006 D. Scott Barninger - add centos3 build tag +- fix link error of static-fd on Mandrake with --disable-nls * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger -- 2.39.5