summaryrefslogtreecommitdiff
path: root/textproc/groff/patches/patch-contrib_chem_Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/groff/patches/patch-contrib_chem_Makefile.sub')
-rw-r--r--textproc/groff/patches/patch-contrib_chem_Makefile.sub15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/groff/patches/patch-contrib_chem_Makefile.sub b/textproc/groff/patches/patch-contrib_chem_Makefile.sub
new file mode 100644
index 00000000000..0d9964ffe40
--- /dev/null
+++ b/textproc/groff/patches/patch-contrib_chem_Makefile.sub
@@ -0,0 +1,15 @@
+$NetBSD: patch-contrib_chem_Makefile.sub,v 1.1 2013/09/19 10:11:47 fhajny Exp $
+
+Drop unneeded targets that break bmake.
+--- contrib/chem/Makefile.sub.orig 2009-01-09 14:25:52.000000000 +0000
++++ contrib/chem/Makefile.sub
+@@ -52,8 +52,7 @@ chem: $(srcdir)/chem.pl $(SH_DEPS_SED_SC
+
+ install_data: chem \
+ README examples/README \
+- $(srcdir)/chem.pic \
+- $(srcdir)/examples/*.chem $(srcdir)/examples/122/*
++ $(srcdir)/chem.pic
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(RM) $(DESTDIR)$(bindir)/$(g)chem
+ $(INSTALL_SCRIPT) chem $(DESTDIR)$(bindir)/$(g)chem