summaryrefslogtreecommitdiff
path: root/textproc/jade/patches
diff options
context:
space:
mode:
authorrh <rh>1999-03-15 08:43:27 +0000
committerrh <rh>1999-03-15 08:43:27 +0000
commitc166b7691a0b0c7543fd73aacda0dd78b1772398 (patch)
treead07332208b05b38b127ef8dac44f31db21bd0dc /textproc/jade/patches
parent8efc94dea5227c1b9f6b12f0d285a37bbd88295d (diff)
downloadpkgsrc-c166b7691a0b0c7543fd73aacda0dd78b1772398.tar.gz
Initial import of FreeBSD port for jade.
Diffstat (limited to 'textproc/jade/patches')
-rw-r--r--textproc/jade/patches/patch-ac19
-rw-r--r--textproc/jade/patches/patch-ad53
2 files changed, 72 insertions, 0 deletions
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
+ ;;
+