From c166b7691a0b0c7543fd73aacda0dd78b1772398 Mon Sep 17 00:00:00 2001 From: rh Date: Mon, 15 Mar 1999 08:43:27 +0000 Subject: Initial import of FreeBSD port for jade. --- textproc/jade/patches/patch-ac | 19 +++++++++++++++ textproc/jade/patches/patch-ad | 53 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 textproc/jade/patches/patch-ac create mode 100644 textproc/jade/patches/patch-ad (limited to 'textproc/jade/patches') diff --git a/textproc/jade/patches/patch-ac b/textproc/jade/patches/patch-ac new file mode 100644 index 00000000000..98730d62feb --- /dev/null +++ b/textproc/jade/patches/patch-ac @@ -0,0 +1,19 @@ +*** lib/instmac.m4.orig Sun Jul 6 20:20:04 1997 +--- lib/instmac.m4 Sun Jul 6 20:20:54 1997 +*************** +*** 75,81 **** + __undefine(`undefine')__dnl + __undefine(`undivert')__dnl + __undefine(`unix')__dnl +! __dnl __changequote(,)__dnl disable quoting + + #ifdef SP_NAMESPACE + } +--- 75,81 ---- + __undefine(`undefine')__dnl + __undefine(`undivert')__dnl + __undefine(`unix')__dnl +! __dnl __changequote(,)__dnl + + #ifdef SP_NAMESPACE + } diff --git a/textproc/jade/patches/patch-ad b/textproc/jade/patches/patch-ad new file mode 100644 index 00000000000..67e689a2ae6 --- /dev/null +++ b/textproc/jade/patches/patch-ad @@ -0,0 +1,53 @@ +--- config/ltmain.sh.orig Wed Oct 7 13:16:34 1998 ++++ config/ltmain.sh Tue Feb 2 20:38:44 1999 +@@ -967,6 +967,16 @@ + versuffix="$current.$revision" + ;; + ++ freebsd) ++ version_vars="$version_vars major versuffix" ++ major="$current" ++ if [ $PORTOBJFORMAT = elf ]; then ++ versuffix="$current"; ++ else ++ versuffix="$current.$revision"; ++ fi ++ ;; ++ + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 +--- config/ltconfig.orig Wed Oct 7 13:16:34 1998 ++++ config/ltconfig Tue Feb 2 20:41:55 1999 +@@ -777,7 +777,7 @@ + ;; + + # FreeBSD 3, at last, uses gcc -shared to do shared libraries. +- freebsd3*) ++ freebsd*) + archive_cmds='$CC -shared -o $lib$libobjs' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -1123,10 +1123,21 @@ + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +-freebsd2* | freebsd3*) ++freebsd2*) + version_type=sunos + library_names_spec='${libname}${release}.so.$versuffix $libname.so' + finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd*) ++ version_type=freebsd ++ library_names_spec='${libname}${release}.so.$versuffix $libname.so' ++ if [ $PORTOBJFORMAT = elf ]; then ++ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir' ++ else ++ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir' ++ fi + shlibpath_var=LD_LIBRARY_PATH + ;; + -- cgit v1.2.3