ifolder/www-apps/ifolder3-enterprise-plugins/files/3.9.1/use_libdir_for_executables.patch

29 lines
1.6 KiB
Diff
Raw Normal View History

diff -uNr ifolder3-enterprise-plugins-3.9.1.7665.orig/src/LdapGroup/Simias.UserAdd/iFolderLdapUserUpdate.sh.in ifolder3-enterprise-plugins-3.9.1.7665/src/LdapGroup/Simias.UserAdd/iFolderLdapUserUpdate.sh.in
--- ifolder3-enterprise-plugins-3.9.1.7665.orig/src/LdapGroup/Simias.UserAdd/iFolderLdapUserUpdate.sh.in 2013-04-20 03:46:48.496913828 +0200
+++ ifolder3-enterprise-plugins-3.9.1.7665/src/LdapGroup/Simias.UserAdd/iFolderLdapUserUpdate.sh.in 2013-04-20 03:51:04.852708939 +0200
@@ -36,10 +36,10 @@
#*
#*******************************************************************************/
-export MONO_PATH=@_webbindir_@:@_bindir_@
+export MONO_PATH=@_webbindir_@:@_bindir_@/../lib/simias
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@_webbindir_@
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:@_webbindir_@
cd @_bindir_@
-mono @_bindir_@/UserAdd.exe "$@"
+mono @_bindir_@/../lib/simias/UserAdd.exe "$@"
diff -uNr ifolder3-enterprise-plugins-3.9.1.7665.orig/src/LdapGroup/Simias.UserAdd/Makefile.am ifolder3-enterprise-plugins-3.9.1.7665/src/LdapGroup/Simias.UserAdd/Makefile.am
--- ifolder3-enterprise-plugins-3.9.1.7665.orig/src/LdapGroup/Simias.UserAdd/Makefile.am 2013-04-20 03:46:48.496913828 +0200
+++ ifolder3-enterprise-plugins-3.9.1.7665/src/LdapGroup/Simias.UserAdd/Makefile.am 2013-04-20 03:54:25.178204526 +0200
@@ -42,7 +42,7 @@
install-exec-local: all $(DATA_FILES)
$(mkinstalldirs) $(DESTDIR)$(bindir)
- $(INSTALL_PROGRAM) UserAdd.exe $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) UserAdd.exe $(DESTDIR)$(libexecdir)
$(INSTALL_PROGRAM) iFolderLdapUserUpdate.sh $(DESTDIR)$(bindir)
uninstall-local: