source: scripts/patches/cyrus-sasl-2.1.20-set_plugindir_from_libdir.patch@ 3d950761

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3d950761 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 2.9 KB
  • cyrus-sasl-2.1.

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2004-10-25
    Initial Package Version: 2.1.20 (may apply to earlier)
    Origin: Ryan Oliver
    Description: This patch ensures that the plugin directory gets located
      under the same directory specified with "--with-libdir=" .
    diff -uNr cyrus-sasl-2.1.20-orig/Makefile.in cyrus-sasl-2.1.20/Makefile.in
    old new  
    656656        @find $(distdir) -exec chmod o+w {} ';'
    657657        @find $(distdir) -name CVS -print | xargs -t rm -rf
    658658install-exec-local: $(INSTALLOSX)
    659         @if test "$(plugindir)" != "$(prefix)/lib/sasl2"; then \
     659        @if test "$(plugindir)" != "$(libdir)/sasl2"; then \
    660660          echo "********************************************************"; \
    661661          echo "* WARNING:"; \
    662           echo "* Plugins are being installed into $(prefix)/lib/sasl2,"; \
     662          echo "* Plugins are being installed into $(libdir)/sasl2,"; \
    663663          echo "* but the library will look for them in $(plugindir)."; \
    664664          echo "* You need to make sure that the plugins will eventually"; \
    665665          echo "* be in $(plugindir) -- the easiest way is to make a"; \
    666           echo "* symbolic link from $(plugindir) to $(prefix)/lib/sasl2,"; \
     666          echo "* symbolic link from $(plugindir) to $(libdir)/sasl2,"; \
    667667          echo "* but this may not be appropriate for your site, so this"; \
    668668          echo "* installation procedure won't do it for you."; \
    669669          echo "*"; \
  • cyrus-sasl-2.1.

    diff -uNr cyrus-sasl-2.1.20-orig/configure cyrus-sasl-2.1.20/configure
    old new  
    904904  --with-pgsql=PATH       use PostgreSQL from PATH
    905905  --with-sqlite=PATH       use SQLite from PATH
    906906  --with-plugindir=DIR    set the directory where plugins will
    907                           be found [/usr/lib/sasl2]
     907                          be found [LIBDIR/sasl2]
    908908  --with-rc4              use internal rc4 routines [yes]
    909909  --with-dmalloc=DIR      with DMALLOC support (for test applications) [no]
    910910  --with-sfio=DIR         with SFIO support (for smtptest/libsfsasl) [no]
     
    1143711437  withval="$with_plugindir"
    1143811438  plugindir=$withval
    1143911439else
    11440   plugindir=/usr/lib/sasl2
     11440  plugindir=${libdir}/sasl2
    1144111441fi;
    1144211442
    1144311443cat >>confdefs.h <<_ACEOF
  • plugins/Makefile.in

    diff -uNr cyrus-sasl-2.1.20-orig/plugins/Makefile.in cyrus-sasl-2.1.20/plugins/Makefile.in
    old new  
    255255
    256256common_sources = plugin_common.c plugin_common.h
    257257
    258 sasldir = $(prefix)/lib/sasl2
     258sasldir = $(libdir)/sasl2
    259259sasl_LTLIBRARIES = @SASL_MECHS@
    260260EXTRA_LTLIBRARIES = libplain.la libanonymous.la libkerberos4.la libcrammd5.la \
    261261        libgssapiv2.la libdigestmd5.la liblogin.la libsrp.la libotp.la \
Note: See TracBrowser for help on using the repository browser.