summaryrefslogtreecommitdiff
path: root/textproc/sp/patches/patch-ab
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-02-06 10:36:38 +0000
committerjmmv <jmmv@pkgsrc.org>2003-02-06 10:36:38 +0000
commit10a038e77435c1ac593d5d2674fc601f10a275fc (patch)
tree9bcc57416b2bdac8064e7a2438e558aa60b21b0e /textproc/sp/patches/patch-ab
parent2ed8fd129205d0d2193f5731651853bc7a7f499c (diff)
downloadpkgsrc-10a038e77435c1ac593d5d2674fc601f10a275fc.tar.gz
Use install -c instead of just install.
Mark unreal targets in Makefile.prog as .PHONY... let's see if this solves the problem shown in bulk build.
Diffstat (limited to 'textproc/sp/patches/patch-ab')
-rw-r--r--textproc/sp/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/sp/patches/patch-ab b/textproc/sp/patches/patch-ab
new file mode 100644
index 00000000000..69a6810d481
--- /dev/null
+++ b/textproc/sp/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.3 2003/02/06 10:36:39 jmmv Exp $
+
+--- Makefile.prog.orig Sat Jul 6 23:55:41 1996
++++ Makefile.prog
+@@ -1,5 +1,7 @@
+ CLEANFILES=$(PROG)$(EXE) $(OBJS) core
+
++.PHONY: all pure install
++
+ all: $(PROG)$(EXE)
+
+ pure: $(PROG).pure
+@@ -10,7 +12,7 @@ $(PROG)$(EXE): $(OBJS) $(COBJS) $(XLIBS)
+ $(PROG).pure: $(OBJS) $(COBJS) $(XLIBS)
+ $(PURIFY) $(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(XLIBS) $(LIBS)
+
+-install: $(PROG)$(EXE)
++install! $(PROG)$(EXE)
+ -test -d $(bindir) || mkdir $(bindir)
+ -rm -f $(bindir)/$(PROG)$(EXE)
+ $(INSTALL) $(PROG)$(EXE) $(bindir)/$(PROG)$(EXE)