pkgsrc/textproc/troffcvt/patches/patch-ab
jmmv b05fee8fbc Fix some paths, as reported in PR pkg/19725 by collver1@attbi.com.
Also depend on perl5, as this package installs several scripts that use it.
Bump PKGREVISION to 1.
2003-03-21 20:04:24 +00:00

33 lines
1 KiB
Text

$NetBSD: patch-ab,v 1.2 2003/03/21 20:04:25 jmmv Exp $
--- troffcvt/Makefile.orig Fri May 23 12:28:06 1997
+++ troffcvt/Makefile
@@ -41,8 +41,8 @@
LIBDIR = $(LOCALUSRLIBDIR)/troffcvt
PROJLIBDIR = $(LIBDIR)
- MACROLIBDIR = $(USRLIBDIR)/tmac
- MACROFILEPREFIX =
+ MACROLIBDIR = /usr/share/tmac
+ MACROFILEPREFIX = tmac.
STRING_H = <string.h>
STRING_H_DEFINES = -D'STRING_H=$(STRING_H)'
@@ -469,7 +469,8 @@
runtest:: runtest.pl
$(RM) $@
echo "#!"$(PERLPATH) > $@
- $(MSUB) runtest.pl >> $@
+ $(SED) <runtest.pl >> $@ 's/\$$(CMP)/$(CMP)/'
+# $(MSUB) runtest.pl >> $@
$(CHMOD) a+x $@
clean::
@@ -537,7 +538,6 @@
main.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
main.o: /usr/include/ctype.h /usr/include/sys/types.h
-main.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
main.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h
main.o: /usr/include/string.h /usr/local/include/portlib.h
main.o: /usr/local/include/etm.h /usr/local/include/memmgr.h .././h/tcgen.h