summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-conf_Makefile
blob: 9e7f80da96f8feeca8e9b710dba748d0eb76b6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-conf_Makefile,v 1.2 2013/05/09 09:38:20 jperkin Exp $

Don't install the config files (leave it up to pkgsrc).

--- conf/Makefile.orig	2011-05-12 05:21:56.000000000 +0000
+++ conf/Makefile
@@ -70,22 +70,8 @@ install:	all install-data install-header
 #
 
 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 ; \
-	done
-	$(INSTALL_CONFIG) -g $(CUPS_GROUP) cupsd.conf $(SERVERROOT)/cupsd.conf.default
 	$(INSTALL_DIR) -m 755 $(DATADIR)/mime
 	for file in $(REPLACE); do \
-		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 \