diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 1999-04-28 09:45:39 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1999-04-28 09:45:39 +0000 |
commit | e272093d6d8e977e89a94cabfe7d80ef40ba2943 (patch) | |
tree | d9e442298db33aa1fd0cf7bd1d89ef6036884cb1 /lang/siod/files | |
parent | 9320c70c851b387d12f2d3542a4dfc51a2c4f130 (diff) | |
download | ports-e272093d6d8e977e89a94cabfe7d80ef40ba2943.tar.gz ports-e272093d6d8e977e89a94cabfe7d80ef40ba2943.zip |
Notes
Diffstat (limited to 'lang/siod/files')
-rw-r--r-- | lang/siod/files/patch-aa | 37 | ||||
-rw-r--r-- | lang/siod/files/patch-ab | 21 | ||||
-rw-r--r-- | lang/siod/files/patch-ac | 66 |
3 files changed, 124 insertions, 0 deletions
diff --git a/lang/siod/files/patch-aa b/lang/siod/files/patch-aa new file mode 100644 index 000000000000..9f410c660f6e --- /dev/null +++ b/lang/siod/files/patch-aa @@ -0,0 +1,37 @@ +--- makefile-- Fri Feb 20 18:22:04 1998 ++++ makefile Wed Apr 28 13:02:03 1999 +@@ -19,10 +19,10 @@ + # + # + MANSEC=1 +-MANDIR=$(IROOT)/usr/local/man/man$(MANSEC) +-BINDIR=$(IROOT)/usr/local/bin +-INCDIR=$(IROOT)/usr/local/include +-LIBDIR=$(IROOT)/usr/local/lib ++MANDIR=$(PREFIX)/man/man$(MANSEC) ++BINDIR=$(PREFIX)/bin ++INCDIR=$(PREFIX)/include ++LIBDIR=$(PREFIX)/lib + LIBSIODDIR=$(LIBDIR)/siod + CP_F=cp -f + # -Wmissing-prototypes +@@ -270,6 +270,19 @@ + CFLAGS="$(CDEBUG)" \ + LD_EXE_LIBS="-lm -ldl" \ + build_driver ++ ++## FreeBSD, possibly other BSDs ++freebsd: ++ $(MAKE) \ ++ PROGS="siod tar.so parser_pratt.so ss.so \ ++ regex.so" \ ++ CFLAGS="$(CDEBUG) $(GCCW) -DHAVE_SYS_PARAM_H $(CFLAGS)" \ ++ LD_LIB_LIBS="-lcrypt -lm" \ ++ LD_LIB_FLAGS="-shared" \ ++ LD_EXE_FLAGS="-rdynamic -Xlinker -rpath -Xlinker $(LIBDIR) -Xlinker -rpath -Xlinker $(LIBSIODDIR)" \ ++ SO="so" \ ++ build_driver ++ + + unknown: + -ln -s ssiod siod diff --git a/lang/siod/files/patch-ab b/lang/siod/files/patch-ab new file mode 100644 index 000000000000..de4127a62ef9 --- /dev/null +++ b/lang/siod/files/patch-ab @@ -0,0 +1,21 @@ +--- regex.c-- Mon Dec 1 23:48:17 1997 ++++ regex.c Wed Apr 28 12:59:44 1999 +@@ -4,6 +4,9 @@ + author: george j. carrette + */ + ++#if defined(HAVE_SYS_PARAM_H) ++#include <sys/param.h> ++#endif + + #include <stdio.h> + #include <stdlib.h> +@@ -11,7 +14,7 @@ + #if defined(VMS) + #include <types.h> + #endif +-#if defined(sgi) ++#if defined(sgi) || defined(BSD) + #include <sys/types.h> + #endif + #include <regex.h> diff --git a/lang/siod/files/patch-ac b/lang/siod/files/patch-ac new file mode 100644 index 000000000000..4c26f004eeb4 --- /dev/null +++ b/lang/siod/files/patch-ac @@ -0,0 +1,66 @@ +--- slibu.c-- Tue Dec 2 00:46:38 1997 ++++ slibu.c Wed Apr 28 14:07:05 1999 +@@ -20,6 +20,10 @@ + #include <errno.h> + #include <stdarg.h> + ++#if defined(HAVE_SYS_PARAM_H) ++#include <sys/param.h> ++#endif ++ + #if defined(unix) + #include <unistd.h> + #include <dirent.h> +@@ -50,7 +54,7 @@ + #include <dl.h> + #endif + +-#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) ++#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) || defined(BSD) + #include <dlfcn.h> + #endif + +@@ -288,6 +292,7 @@ + return(NIL);} + #endif + ++#if !defined(BSD) + LISP lputpwent(LISP alist,LISP file) + {int iflag = no_interrupt(1); + int status; +@@ -296,6 +301,7 @@ + status = putpwent(&p,get_c_file(file,NULL)); + no_interrupt(iflag); + return(NIL);} ++#endif + + LISP laccess_problem(LISP lfname,LISP lacc) + {char *fname = get_c_string(lfname); +@@ -1554,7 +1560,7 @@ + /* note: error cases can leak memory in this procedure. */ + {LISP init_name; + void (*fcn)(void) = NULL; +-#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) ++#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) || defined(BSD) + void *handle; + #endif + #if defined(hpux) +@@ -1575,7 +1581,7 @@ + {put_st("so-loading "); + put_st(get_c_string(fname)); + put_st("\n");} +-#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) ++#if defined(__osf__) || defined(sun) || defined(linux) || defined(sgi) || defined(BSD) + #if !defined(__osf__) + /* Observed bug: values of LD_LIBRARY_PATH established with putenv + -after- a process has started are ignored. Work around follows. */ +@@ -2197,7 +2203,9 @@ + #if defined(__osf__) + init_subr_1("setpwfile",lsetpwfile); + #endif ++#if !defined(BSD) + init_subr_2("putpwent",lputpwent); ++#endif + init_subr_2("access-problem?",laccess_problem); + init_subr_3("utime",lutime); + init_subr_2("fchmod",lfchmod); |