freebsd-ports/mail/whoson/files/patch-Makefile.in
Alexey Dokuchaev 6628accc8e - Try to fix parallel builds (-jX): daemon also depends on their library;
drop MAKE_JOBS_UNSAFE and fix extra whitespace at CONFIGURE_ARGS/MANx
- Convert NOPORTDOCS, get rid of .for loop when installing documentation
- Properly terminate WWW: line in port description with a slash

Reported by:	marino
Approved by:	miwi, bapt (portmgr, implicit)
2013-08-30 04:45:28 +00:00

25 lines
1.2 KiB
Text

--- 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-
install-data-hook:
- if test -f $(DESTDIR)$(DEFAULT_CONFIG); then \
- $(ECHO) "$(DESTDIR)$(DEFAULT_CONFIG) exists, not overwritten"; \
- else \
- $(mkinstalldirs) `dirname $(DESTDIR)$(DEFAULT_CONFIG)`; \
- $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG); \
- fi; \
+ $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG).sample; \
for f in $(MAN3XTRA); do \
rm -f $(DESTDIR)$(man3dir)/$$f; \
$(LN) $(DESTDIR)$(man3dir)/whoson.3 $(DESTDIR)$(man3dir)/$$f; \