freebsd-ports/mail/whoson/files/patch-Makefile.in

26 lines
1.2 KiB
Text
Raw Normal View History

2008-07-02 17:40:18 +02:00
--- Makefile.in.orig 2008-01-17 15:59:21.000000000 +0300
+++ Makefile.in 2008-07-02 19:37:47.000000000 +0400
@@ -336,7 +336,7 @@ whosond_SOURCES = whosond.c mainloop.c l
nodist_whosond_SOURCES = servlist.c
EXTRA_whosond_SOURCES = serv_tcp.c serv_unix.c serv_unixd.c serv_udp.c
whosond_LDADD = $(lib_LTLIBRARIES) @LIBOBJS@ @SERV_CONN_OBJ@
-whosond_DEPENDENCIES = @SERV_CONN_OBJ@
+whosond_DEPENDENCIES = @SERV_CONN_OBJ@ $(lib_LTLIBRARIES)
libwhoson_la_SOURCES = clnt_common.c rtconfig.c checkperm.c
nodist_libwhoson_la_SOURCES = clntlist.c
EXTRA_libwhoson_la_SOURCES = clnt_tcp.c clnt_unix.c clnt_unixd.c clnt_udp.c
@@ -982,12 +982,7 @@ uninstall-man: uninstall-man3 uninstall-
2006-07-22 23:13:33 +02:00
install-data-hook:
2008-07-02 17:40:18 +02:00
- if test -f $(DESTDIR)$(DEFAULT_CONFIG); then \
- $(ECHO) "$(DESTDIR)$(DEFAULT_CONFIG) exists, not overwritten"; \
2006-07-22 23:13:33 +02:00
- else \
2008-07-02 17:40:18 +02:00
- $(mkinstalldirs) `dirname $(DESTDIR)$(DEFAULT_CONFIG)`; \
- $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG); \
2006-07-22 23:13:33 +02:00
- fi; \
2008-07-02 17:40:18 +02:00
+ $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG).sample; \
2006-07-22 23:13:33 +02:00
for f in $(MAN3XTRA); do \
rm -f $(DESTDIR)$(man3dir)/$$f; \
$(LN) $(DESTDIR)$(man3dir)/whoson.3 $(DESTDIR)$(man3dir)/$$f; \