summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-aa
blob: 42c7bf5e26795b5dd2ccb69467dde14844b7513b (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
$NetBSD: patch-aa,v 1.6 2003/05/22 11:41:03 abs Exp $

--- Makefile.PL.orig	2003-05-20 07:06:16.000000000 +0100
+++ Makefile.PL
@@ -337,16 +337,17 @@ binaries.mk: configure
 	./configure
 
 inst_cfs: $(PKG_LOCAL_RULES_DIR) $(PKG_LOCAL_RULES_DIR)/local.cf
-	$(MKPATH) $(PKG_DEF_RULES_DIR)
+	$(BSD_INSTALL_DATA_DIR) $(PKG_DEF_RULES_DIR)
 	$(RM_RF) $(PKG_DEF_RULES_DIR)/*
 	$(PERL) build/preprocessor $(FIXVARS) -Irules -O$(PKG_DEF_RULES_DIR) $(RULES)
-	$(CHMOD) $(PERM_RWX) $(PKG_DEF_RULES_DIR)
+	@ \# $(CHMOD) $(PERM_RWX) $(PKG_DEF_RULES_DIR)
 
 $(PKG_LOCAL_RULES_DIR):
-	$(MKPATH) $@
+	$(BSD_INSTALL_DATA_DIR) $@
 
 $(PKG_LOCAL_RULES_DIR)/local.cf: rules/local.cf
-	$(PERL) -e "use File::Copy; (-f '$@') or copy ('$?', '$@');"
+	@ \# manage local.cf through pkgsrc .mk files
+	@ \# $(PERL) -e "use File::Copy; (-f '$@') or copy ('$?', '$@');"
 
 text_html_doc: made-doc-stamp
 	$(NOOP)