diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2009-03-09 16:19:07 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2009-03-09 16:19:07 +0000 |
commit | 6b5badef77c349225e88366fcde08a4ad1ae52f8 (patch) | |
tree | c2523b655b414235957dee942a9f53d8880c9d9f /textproc/yodl/files | |
parent | Add icmake (missed from the last commit) (diff) |
- Update to 2.13.2
- Take maintainership
Approved by: tabthorpe
Notes
Notes:
svn path=/head/; revision=229760
Diffstat (limited to 'textproc/yodl/files')
-rw-r--r-- | textproc/yodl/files/patch-build | 43 | ||||
-rw-r--r-- | textproc/yodl/files/patch-src.lib.lib.h | 12 |
2 files changed, 43 insertions, 12 deletions
diff --git a/textproc/yodl/files/patch-build b/textproc/yodl/files/patch-build new file mode 100644 index 000000000000..891021c9ab44 --- /dev/null +++ b/textproc/yodl/files/patch-build @@ -0,0 +1,43 @@ +--- build.orig 2007-02-12 20:01:56.000000000 +0100 ++++ build 2009-03-04 19:27:30.000000000 +0100 +@@ -28,11 +28,15 @@ + buildIn("macros", "std", ""); // and the std conversions + + buildIn("manual", "docmacros", "");// macrolist for the manual +- buildIn("manual", "manual", ""); // create the manual + + buildIn("man", "man", ""); // create the manpages + } + ++void doc() ++{ ++ buildIn("manual", "manual", ""); // create the manual ++} ++ + void install(string where) + { + system("mkdir -p " + where); +@@ -40,6 +44,10 @@ + buildIn("src", "install", where + "/bin"); + buildIn("macros", "install", where + "/share/yodl"); + buildIn("man", "install", where + "/share/man"); ++} ++ ++void install_doc(string where) ++{ + buildIn("manual", "install", where + "/share/doc"); + + exec("cp", "-r", +@@ -74,8 +82,12 @@ + cleanup(); + else if (arg1 == "install") + install(element(2, argv)); ++ else if (arg1 == "install_doc") ++ install_doc(element(2, argv)); + else if (arg1 == "package") + package(); ++ else if (arg1 == "doc") ++ doc(); + else + { + printf("request `", arg1, "' not yet available\n"); diff --git a/textproc/yodl/files/patch-src.lib.lib.h b/textproc/yodl/files/patch-src.lib.lib.h deleted file mode 100644 index 7f4b9623aa64..000000000000 --- a/textproc/yodl/files/patch-src.lib.lib.h +++ /dev/null @@ -1,12 +0,0 @@ ---- src/lib/lib.h.orig Wed Jul 31 23:08:06 2002 -+++ src/lib/lib.h Wed Jul 31 23:08:35 2002 -@@ -16,7 +16,7 @@ - - #if HAVE_MALLOC_H - # include <malloc.h> --#elif defined STDC_HEADERS -+#elif defined STDC_HEADERS && !defined __FreeBSD__ - extern void free PARAMS ((char *)); - extern char *malloc PARAMS ((int)); - extern char *realloc PARAMS ((char*, int)); ---- patch-src.lib.lib.h ends here --- |