2008-09-02 18:05:23 -04:00
|
|
|
$OpenBSD: patch-Makefile_in,v 1.5 2008/09/02 22:05:23 bernd Exp $
|
|
|
|
--- Makefile.in.orig Thu Jul 24 12:22:37 2008
|
|
|
|
+++ Makefile.in Thu Jul 24 12:24:01 2008
|
|
|
|
@@ -48,6 +48,8 @@ install-conf:
|
2007-01-09 04:56:57 -05:00
|
|
|
sed -e 's#@@ServerRoot@@#$(prefix)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
-e 's#@@Port@@#$(PORT)#g' \
|
2008-09-02 18:05:23 -04:00
|
|
|
-e 's#@@SSLPort@@#$(SSLPORT)#g' \
|
|
|
|
+ -e 's#@@User@@#$(rel_user)#g' \
|
|
|
|
+ -e 's#@@Group@@#$(rel_group)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
-e '/@@LoadModule@@/d' \
|
|
|
|
< $$i; \
|
|
|
|
else \
|
2008-09-02 18:05:23 -04:00
|
|
|
@@ -55,6 +57,8 @@ install-conf:
|
2007-01-09 04:56:57 -05:00
|
|
|
-e 's#@@ServerRoot@@#$(prefix)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
-e 's#@@Port@@#$(PORT)#g' \
|
2008-09-02 18:05:23 -04:00
|
|
|
-e 's#@@SSLPort@@#$(SSLPORT)#g' \
|
|
|
|
+ -e 's#@@User@@#$(rel_user)#g' \
|
|
|
|
+ -e 's#@@Group@@#$(rel_group)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
-e 'p' \
|
|
|
|
< $$i; \
|
|
|
|
for j in $(DSO_MODULES) "^EOL^"; do \
|
2008-09-02 18:05:23 -04:00
|
|
|
@@ -67,6 +71,8 @@ install-conf:
|
2007-01-09 04:56:57 -05:00
|
|
|
-e 's#@@ServerRoot@@#$(prefix)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
-e 's#@@Port@@#$(PORT)#g' \
|
2008-09-02 18:05:23 -04:00
|
|
|
-e 's#@@SSLPort@@#$(SSLPORT)#g' \
|
|
|
|
+ -e 's#@@User@@#$(rel_user)#g' \
|
|
|
|
+ -e 's#@@Group@@#$(rel_group)#g' \
|
2006-12-14 02:14:20 -05:00
|
|
|
< $$i; \
|
|
|
|
fi \
|
|
|
|
) > $(DESTDIR)$(sysconfdir)/original/$$i; \
|