openbsd-ports/net/silc-server/patches/patch-apps_silcd_Makefile_in
sthen 765c63f683 - Use the correct autoconf version.
- Don't try and install a file into a directory before it's created,
(Fixes packaging with systrace; rather than returning 'No such file or
directory' when you try to 'install aaa bbb/', under systrace aaa gets
installed to a *file* named bbb).

ok Brad.
2010-05-17 22:53:37 +00:00

35 lines
1.0 KiB
Plaintext

$OpenBSD: patch-apps_silcd_Makefile_in,v 1.7 2010/05/17 22:53:37 sthen Exp $
--- apps/silcd/Makefile.in.orig Sat Sep 26 21:34:14 2009
+++ apps/silcd/Makefile.in Mon May 17 09:21:59 2010
@@ -586,7 +586,6 @@ install-dirs-server:
-mkdir -p $(mandir)/man8
doc-install-server:
- -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(docdir)/
-@if test -f $(top_srcdir)/doc/silcd.8 ; then \
$(INSTALL_DATA) $(top_srcdir)/doc/silcd.8 $(mandir)/man8; \
fi
@@ -604,8 +603,8 @@ etc-install-server:
fi
examples-install:
- -mkdir -p $(docdir)/examples/
- -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(docdir)/examples/
+ -mkdir -p $(DESTDIR)$(datadir)/examples/silcd/
+ -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(DESTDIR)$(datadir)/examples/silcd/
generate-server-key:
-@if test '!' -f $(etcdir)/silcd.pub ; then \
@@ -613,11 +612,8 @@ generate-server-key:
fi
install-data-hook: \
- install-dirs-server \
doc-install-server \
- etc-install-server \
examples-install \
- generate-server-key
@INCLUDE_DEFINES_INT@