summaryrefslogtreecommitdiff
path: root/mail/ja-mh/patches/patch-bl
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ja-mh/patches/patch-bl')
-rw-r--r--mail/ja-mh/patches/patch-bl111
1 files changed, 111 insertions, 0 deletions
diff --git a/mail/ja-mh/patches/patch-bl b/mail/ja-mh/patches/patch-bl
new file mode 100644
index 00000000000..d4c2b01937e
--- /dev/null
+++ b/mail/ja-mh/patches/patch-bl
@@ -0,0 +1,111 @@
+$NetBSD: patch-bl,v 1.1 2009/12/25 13:55:12 taca Exp $
+
+--- conf/makefiles/support/bboards.orig 2001-06-11 01:25:43.000000000 +0000
++++ conf/makefiles/support/bboards
+@@ -15,6 +15,7 @@ BBDIR = @(BBHOME)
+ BBETC = $(BBDIR)/etc
+ CHOWN = @(MHCHOWNPATH)
+ REMOVE = @(MHREMOVE)
++CP = @(CP)
+ BBUID = bboards
+ @BEGIN: BBSERVER
+ ALL = bbaka bbexp bbtar
+@@ -118,8 +119,7 @@ inst-bboards: $(BBDIR)/BBoards
+
+ $(BBDIR)/BBoards: BBoards
+ -@if [ ! -f $@ ]; then \
+- $(REMOVE) $@ zBBoards; \
+- cp BBoards $@; \
++ $(CP) BBoards $@; \
+ else \
+ echo "Will not overwrite existing $@"; \
+ fi
+@@ -135,8 +135,7 @@ $(BBDIR)/BBoards: BBoards
+ inst-bbaka: $(BBETC)/bbaka
+
+ $(BBETC)/bbaka: xbbaka
+- -$(REMOVE) $@ zbbaka
+- cp xbbaka $@
++ $(CP) xbbaka $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@echo ""
+@@ -156,8 +155,7 @@ l-bbaka:; $(LINT) $(LFLAGS) bbaka.c $(LL
+ inst-bbexp: $(BBETC)/bbexp
+
+ $(BBETC)/bbexp: xbbexp
+- -$(REMOVE) $@ zbbexp
+- cp xbbexp $@
++ $(CP) xbbexp $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@echo ""
+@@ -177,8 +175,7 @@ l-bbexp:; $(LINT) $(LFLAGS) bbexp.c ../.
+ inst-bbtar: $(BBETC)/bbtar
+
+ $(BBETC)/bbtar: xbbtar
+- -$(REMOVE) $@ zbbtar
+- cp xbbtar $@
++ $(CP) xbbtar $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@echo ""
+@@ -198,8 +195,7 @@ l-bbtar:; $(LINT) $(LFLAGS) bbtar.c $(LL
+ inst-daily: $(BBETC)/bboards.daily
+
+ $(BBETC)/bboards.daily: bboards.daily
+- -$(REMOVE) $@ zbboards.daily
+- cp bboards.daily $@
++ $(CP) bboards.daily $@
+ -$(CHOWN) $(BBUID) $@
+ -@chmod +x $@
+ -@ls -l $@
+@@ -213,8 +209,7 @@ $(BBETC)/bboards.daily: bboards.daily
+ inst-weekly: $(BBETC)/bboards.weekly
+
+ $(BBETC)/bboards.weekly: bboards.weekly
+- -$(REMOVE) $@ zbboards.weekly
+- cp bboards.weekly $@
++ $(CP) bboards.weekly $@
+ -$(CHOWN) $(BBUID) $@
+ -@chmod +x $@
+ -@ls -l $@
+@@ -228,8 +223,7 @@ $(BBETC)/bboards.weekly: bboards.weekly
+ inst-makebboards: $(BBETC)/Makefile
+
+ $(BBETC)/Makefile: MakeBBoards
+- -$(REMOVE) $@ zMakeBBoards
+- cp MakeBBoards $@
++ $(CP) MakeBBoards $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@echo ""
+@@ -242,8 +236,7 @@ $(BBETC)/Makefile: MakeBBoards
+ inst-cshell: $(BBDIR)/.cshrc
+
+ $(BBDIR)/.cshrc: cshrc
+- -$(REMOVE) $@ z.cshrc
+- cp cshrc $@
++ $(CP) cshrc $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@echo ""
+@@ -256,8 +249,7 @@ $(BBDIR)/.cshrc: cshrc
+ inst-profile: $(BBDIR)/.mh_profile
+
+ $(BBDIR)/.mh_profile: mh_profile
+- -$(REMOVE) $@ z.mh_profile
+- cp mh_profile $@
++ $(CP) mh_profile $@
+ -$(CHOWN) $(BBUID) $@
+ -@ls -l $@
+ -@touch $(BBETC)/context
+@@ -296,7 +288,7 @@ depend:
+ echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
+ echo '$$r makedep' >> eddep
+ echo 'w' >> eddep
+- cp Makefile _Makefile
++ $(CP) Makefile _Makefile
+ ed - Makefile < eddep
+ rm eddep makedep
+ echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile