2020-05-26 10:36:55 +02:00
|
|
|
$NetBSD: patch-conf_Makefile,v 1.2 2020/05/26 08:36:56 triaxx Exp $
|
2011-11-14 02:23:26 +01:00
|
|
|
|
|
|
|
Don't install the config files (leave it up to pkgsrc).
|
|
|
|
|
2015-09-03 23:15:41 +02:00
|
|
|
--- conf/Makefile.orig 2015-02-27 12:30:26.000000000 +0000
|
2011-11-14 02:23:26 +01:00
|
|
|
+++ conf/Makefile
|
2020-05-26 10:36:55 +02:00
|
|
|
@@ -64,22 +64,8 @@ install: all install-data install-header
|
2011-11-14 02:23:26 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
install-data:
|
|
|
|
- for file in $(KEEP); do \
|
|
|
|
- if test -r $(SERVERROOT)/$$file ; then \
|
|
|
|
- $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.N ; \
|
|
|
|
- else \
|
|
|
|
- $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT) ; \
|
|
|
|
- fi ; \
|
2015-09-03 23:15:41 +02:00
|
|
|
- $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.default; \
|
2011-11-14 02:23:26 +01:00
|
|
|
- done
|
|
|
|
$(INSTALL_DIR) -m 755 $(DATADIR)/mime
|
|
|
|
for file in $(REPLACE); do \
|
2013-05-09 11:38:19 +02:00
|
|
|
- if test -r $(DATADIR)/mime/$$file ; then \
|
|
|
|
- $(MV) $(DATADIR)/mime/$$file $(DATADIR)/mime/$$file.O ; \
|
|
|
|
- fi ; \
|
|
|
|
- if test -r $(SERVERROOT)/$$file ; then \
|
|
|
|
- $(MV) $(SERVERROOT)/$$file $(DATADIR)/mime/$$file.O ; \
|
|
|
|
- fi ; \
|
|
|
|
$(INSTALL_DATA) $$file $(DATADIR)/mime ; \
|
|
|
|
done
|
|
|
|
-if test x$(PAMDIR) != x; then \
|