ports/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
Ruslan Makhmatkhanov 9a5c27ecff - 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)
2012-12-16 16:32:45 +00:00

25 lines
904 B
Text

--- 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}.${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}.${library_version}
#
# Create a relative symlink to the default backend
@@ -34,7 +34,7 @@
# always work.
#
ln -s libbaccats-${default_backend}${SHLIB_EXT} \
- ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
+ ${install_dir}/libbaccats${SHLIB_EXT}.${library_version}
fi
exit 0