Begin forwarded message:
Date: Wed, 14 Oct 2009 02:03:54 +0200
From: Jeroen Roovers <j...@xs4all.nl>
To: "Alexander V. Lukyanov" <l...@netis.ru>, lftp-devel@uniyar.ac.ru
Subject: Re: liblftp-{tasks,jobs}.la dependencies do no exist [PATCH]
I sent this reply or something similar earlier but gmane or
mail-archive apparently sent it to /dev/null instead.
On Mon, 21 Sep 2009 17:43:31 +0200
"Markus Rothe" <mar...@unixforces.net> wrote:
> The result is that /usr/lib64/liblftp-tasks.{a,la} and
> /usr/lib64/liblftp-jobs.{a,la} are installed. The .la files depend on
> the following files, which are not installed:
Patch attached.
> Another problem is that there is an empty directory being created if
> lftp is compiled without the --build-modules option: /usr/lib64/lftp/
Don't know about that one.
Regards,
jer
--- lftp-4.0.2.91.orig/src/Makefile.am 2009-07-29 08:29:10.000000000 +0200
+++ lftp-4.0.2.91/src/Makefile.am 2009-10-13 18:32:26.000000000 +0200
@@ -18,7 +18,8 @@
example_module1_la_SOURCES = example-module1.cc
example_module1_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
-TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la
+TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la liblftp-tasks.la liblftp-jobs.la
+
JOB_MODULES = cmd-mirror.la cmd-sleep.la cmd-torrent.la
if WITH_MODULES
pkgverlib_LTLIBRARIES = $(TASK_MODULES) $(JOB_MODULES)
@@ -26,8 +27,6 @@
TASK_MODULES_STATIC = $(TASK_MODULES)
JOB_MODULES_STATIC = $(JOB_MODULES)
endif
-lib_LTLIBRARIES = liblftp-tasks.la liblftp-jobs.la
-
proto_ftp_la_SOURCES = ftpclass.cc ftpclass.h FtpListInfo.cc FtpListInfo.h\
FtpDirList.cc FtpDirList.h ftp-opie.c FileCopyFtp.cc FileCopyFtp.h
proto_http_la_SOURCES = Http.cc Http.h HttpDir.cc HttpDir.h HttpDirXML.cc