Needless to say, this patch should be against Makefile.in. Here is the
proper patch.

                        Bill Knox
                        Lead Operating Systems Programmer/Analyst
                        The MITRE Corporation

On Tue, 25 Nov 2003, William R. Knox wrote:

> Date: Tue, 25 Nov 2003 12:07:15 -0500 (EST)
> From: William R. Knox <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [Samba] Bug in installclientlib
>
> There is a bug in the installclientlib section of the Makefile. If you
> redefine your LIBDIR during the configure step via a --libdir argument,
> the lib directory never gets created by the installdirs section, and the
> installation of the libsmbclient.* files gets done to a
> $(DESTDIR)${prefix}/lib file, not to the directory. The easy fix is to put
> @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib
> at the beginning of the installclientlib section. Attached is the patch.
>
>                       Bill Knox
>                       Lead Operating Systems Programmer/Analyst
>                       The MITRE Corporation
>
--- samba-3.0.1pre3/source/Makefile.in  Thu Nov 13 22:40:36 2003
+++ samba-3.0.1pre3/source/Makefile.in.new      Tue Nov 25 12:12:08 2003
@@ -1237,6 +1237,7 @@
        @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir)
 
 installclientlib: installdirs libsmbclient
+       @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib
        -$(INSTALLCLIENTCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)${prefix}/lib
        -$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib
        @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/include
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to