summaryrefslogtreecommitdiff
path: root/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-16 16:32:45 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-16 16:32:45 +0000
commit9a5c27ecffc458c012c1e8c90a638964348a085e (patch)
treee160d2b8d2963ff612c68f8849430c7a571d6aec /sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
parent- Update to version 1.9.6 [1] (diff)
- clean up bacula-* ports (Makefile and pkg-message files)
- now bacula-docs just installs pdf files - add bacula-server/Makefile.common with -bat, -client-static and nagios_check- stuff (another bacula slave ports can use it too) - remove pkg-plist from bacula-bat and nagios-check_bacula - now bacula-server, bacula-bat and nagios-check_bacula depend of bacula-client. It avoids some conflicts when we want to install all bacula ports in the same system - remove the OPTION to install static version of bacula-client. Now it is a new port - few other minor changes while here: - trim Makefile headers - remove indefinite articles in COMMENT - convert to optionsng PR: 167700 Submitted by: acm (original patch), Dan Langille <dan@langille.org> (maintainer)
Diffstat (limited to 'sysutils/bacula-server/files/patch-src__cats__install-default-backend.in')
-rw-r--r--sysutils/bacula-server/files/patch-src__cats__install-default-backend.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in b/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
index 4478379b3471..2e919224eade 100644
--- a/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
+++ b/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
@@ -1,26 +1,25 @@
---- src/cats/install-default-backend.in.orig 2012-02-21 16:59:33.000000000 +0100
-+++ src/cats/install-default-backend.in 2012-02-22 19:23:12.041489960 +0100
-@@ -22,19 +22,19 @@
+--- src/cats/install-default-backend.in 2012-03-31 23:39:38.000000000 -0500
++++ src/cats/install-default-backend.in 2012-03-31 23:40:56.000000000 -0500
+@@ -22,11 +22,11 @@
exit 1
fi
-if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} ]; then
-+if [ -f ${install_dir}/libbaccats-${default_backend}${SHLIB_EXT}.5 ]; then
++if [ -f ${install_dir}/libbaccats-${default_backend}${SHLIB_EXT}.${library_version} ]; then
#
# Create a default catalog library pointing to one of the shared libs.
#
- rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
-+ rm -f ${install_dir}/libbaccats${SHLIB_EXT}.5
++ rm -f ${install_dir}/libbaccats${SHLIB_EXT}.${library_version}
#
# Create a relative symlink to the default backend
- # As all backends are in the same directory anyhow this should
+@@ -34,7 +34,7 @@
# always work.
#
-- ln -s libbaccats-${default_backend}${SHLIB_EXT} \
+ ln -s libbaccats-${default_backend}${SHLIB_EXT} \
- ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
-+ ln -s libbaccats-${default_backend}${SHLIB_EXT}.5 \
-+ ${install_dir}/libbaccats${SHLIB_EXT}.5
++ ${install_dir}/libbaccats${SHLIB_EXT}.${library_version}
fi
exit 0