freebsd-ports/security/racoon2/files/patch-samples-Makefile.in
2009-03-30 04:47:37 +00:00

19 lines
732 B
Text

--- samples/Makefile.in.orig 2007-12-27 10:08:52.000000000 +0900
+++ samples/Makefile.in 2008-04-17 19:06:11.000000000 +0900
@@ -29,11 +29,11 @@
$(INSTALL) -d -m 700 $(sysconfdir)/cert
install-startup-rc-d:
- $(INSTALL) -d $(sysconfdir)/rc.d
- $(INSTALL_SCRIPT) rc.d-iked $(sysconfdir)/rc.d/iked
- $(INSTALL_SCRIPT) rc.d-kinkd $(sysconfdir)/rc.d/kinkd
- $(INSTALL_SCRIPT) rc.d-spmd $(sysconfdir)/rc.d/spmd
- $(INSTALL_SCRIPT) rc.d-racoon2 $(sysconfdir)/rc.d/racoon2
+ $(INSTALL_SCRIPT) rc.d-iked $(prefix)/etc/rc.d/iked
+.if defined (WITH_KINK)
+ $(INSTALL_SCRIPT) rc.d-kinkd $(prefix)/etc/rc.d/kinkd
+.endif
+ $(INSTALL_SCRIPT) rc.d-spmd $(prefix)/etc/rc.d/spmd
install-startup-init-d:
$(INSTALL) -d $(sysconfdir)/init.d