aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1999-02-05 12:16:44 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1999-02-05 12:16:44 +0000
commit57f82d2946874628bdc5d4fcdcb81da39863a121 (patch)
tree47877885fc7ef763c8ae933cb3d1d6fcc0cb11e4 /japanese
parent57b167ad166c03bc1ca6f03635a04e3635468c32 (diff)
downloadports-57f82d2946874628bdc5d4fcdcb81da39863a121.tar.gz
ports-57f82d2946874628bdc5d4fcdcb81da39863a121.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ptex-base/files/patch-ac30
-rw-r--r--japanese/ptex-common/files/patch-ac30
2 files changed, 60 insertions, 0 deletions
diff --git a/japanese/ptex-base/files/patch-ac b/japanese/ptex-base/files/patch-ac
new file mode 100644
index 000000000000..6618f4c3a1c9
--- /dev/null
+++ b/japanese/ptex-base/files/patch-ac
@@ -0,0 +1,30 @@
+--- klibtool.orig Fri Dec 12 18:53:46 1997
++++ klibtool Fri Feb 5 20:44:55 1999
+@@ -371,7 +371,7 @@
+ ot_args=`eval echo '$'args_SHARED_archive`
+ ot_prog=`eval echo '$'prog_SHARED_archive`
+ test -z "$ot_prog" && ot_prog=$CC
+- cmdname="$ot_prog $ot_args -o"
++ cmdname="$ot_prog $ot_args"
+ $verbose "$0: replaced $old_ar with $cmdname."
+ fi
+
+@@ -397,6 +397,9 @@
+ lib_dir=.
+ fi
+ lib_basename=`basename $libname`
++ if test $ot = SHARED; then
++ cmdname="$cmdname -Wl,-soname,$lib_basename -o"
++ fi
+ lib_base=`echo $lib_basename | sed 's/[.0-9]*$//'`
+
+ # We might have to run a command after making the library.
+@@ -669,7 +672,7 @@
+ exit 1
+ fi
+ $verbose "$0: dir = $dir, libname = $libname."
+- version=`awk '$1 == "'$libname'" { print "." $2 "." $3 "." $4 }' $verfile`
++ version=`awk '$1 == "'$libname'" { print "." $2 }' $verfile`
+ $verbose "$0: version for $libname = $version."
+ echo $version
+ ;;
diff --git a/japanese/ptex-common/files/patch-ac b/japanese/ptex-common/files/patch-ac
new file mode 100644
index 000000000000..6618f4c3a1c9
--- /dev/null
+++ b/japanese/ptex-common/files/patch-ac
@@ -0,0 +1,30 @@
+--- klibtool.orig Fri Dec 12 18:53:46 1997
++++ klibtool Fri Feb 5 20:44:55 1999
+@@ -371,7 +371,7 @@
+ ot_args=`eval echo '$'args_SHARED_archive`
+ ot_prog=`eval echo '$'prog_SHARED_archive`
+ test -z "$ot_prog" && ot_prog=$CC
+- cmdname="$ot_prog $ot_args -o"
++ cmdname="$ot_prog $ot_args"
+ $verbose "$0: replaced $old_ar with $cmdname."
+ fi
+
+@@ -397,6 +397,9 @@
+ lib_dir=.
+ fi
+ lib_basename=`basename $libname`
++ if test $ot = SHARED; then
++ cmdname="$cmdname -Wl,-soname,$lib_basename -o"
++ fi
+ lib_base=`echo $lib_basename | sed 's/[.0-9]*$//'`
+
+ # We might have to run a command after making the library.
+@@ -669,7 +672,7 @@
+ exit 1
+ fi
+ $verbose "$0: dir = $dir, libname = $libname."
+- version=`awk '$1 == "'$libname'" { print "." $2 "." $3 "." $4 }' $verfile`
++ version=`awk '$1 == "'$libname'" { print "." $2 }' $verfile`
+ $verbose "$0: version for $libname = $version."
+ echo $version
+ ;;