summaryrefslogtreecommitdiff
path: root/textproc/docbook-to-man/files/patch-Instant__Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/docbook-to-man/files/patch-Instant__Imakefile')
-rw-r--r--textproc/docbook-to-man/files/patch-Instant__Imakefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/docbook-to-man/files/patch-Instant__Imakefile b/textproc/docbook-to-man/files/patch-Instant__Imakefile
new file mode 100644
index 000000000000..91ea4acd7823
--- /dev/null
+++ b/textproc/docbook-to-man/files/patch-Instant__Imakefile
@@ -0,0 +1,29 @@
+--- Instant/Imakefile.orig Mon Jun 17 05:50:29 1996
++++ Instant/Imakefile Fri Oct 5 18:18:22 2001
+@@ -1,14 +1,18 @@
+ #define IHaveSubdirs
+ #define PassCDebugFlags
++#undef BuildInstallHtmlManPage
++#define BuildInstallHtmlManPage(x,y,z) /**/
+
+ SUBDIRS = tptregexp
+
+-ROOT = /usr/local
++PREFIX ?= /usr/local
++ROOT = ${PREFIX}
++MANPATH = ${ROOT}/man
+ BINDIR = $(ROOT)/bin
+
+ INCLUDES = -Itptregexp
+ LOCAL_LIBRARIES = -Ltptregexp -ltptregexp
+-TPTLIB = $(ROOT)/lib/tpt
++TPTLIB = $(ROOT)/share/sgml/otranspec
+ DEFINES = -DDEF_TPT_LIB=\"$(TPTLIB)\"
+
+ SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c \
+@@ -19,4 +23,4 @@
+ MakeSubdirs($(SUBDIRS))
+ DependSubdirs($(SUBDIRS))
+
+-ComplexProgramTarget(instant)
++ComplexProgramTarget(oinstant)