diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-29 20:33:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-29 20:33:45 +0000 |
commit | 85c488a242c95b623085a3a3f22793f3811dd9e6 (patch) | |
tree | 51b85cd9f778950cd1025f739ed941469ba148fb | |
parent | 373b0bff0649f8de6d1fedcd4557c184527fd6b3 (diff) | |
download | pkgsrc-85c488a242c95b623085a3a3f22793f3811dd9e6.tar.gz |
Add patch to work around unusual shell script error. Possible bug in /bin/sh?
Fix discovered by IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>.
-rw-r--r-- | lang/librep/files/patch-sum | 6 | ||||
-rw-r--r-- | lang/librep/patches/patch-aa | 16 |
2 files changed, 18 insertions, 4 deletions
diff --git a/lang/librep/files/patch-sum b/lang/librep/files/patch-sum index 7e6d18906ed..b0a1bb558fc 100644 --- a/lang/librep/files/patch-sum +++ b/lang/librep/files/patch-sum @@ -1,5 +1,3 @@ -This placeholder file is generated by the ``makepatchsum'' target -whenever the patches directory is empty or missing. Its purpose -is to ensure that the presence of any obsolete patches will cause -the proper error to be emitted at build time. + +MD5 (patch-aa) = 78f1b645f5b6f5b9a17a8b6ad0f25477 diff --git a/lang/librep/patches/patch-aa b/lang/librep/patches/patch-aa new file mode 100644 index 00000000000..f12532a18e2 --- /dev/null +++ b/lang/librep/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.4 2000/10/29 20:33:45 jlam Exp $ + +--- install-aliases.orig Tue Oct 17 20:52:03 2000 ++++ install-aliases +@@ -76,8 +76,9 @@ + ;; + *) + # make sure links are relative to their own directory +- src=`strip_common_prefix "$dest" "$src"` +- ln -s "${src}${suf}" "${destroot}/${dest}${suf}" ++ # pkgsrc: not sure why this change is necessary...bug in /bin/sh? ++ src1=`strip_common_prefix "$dest" "$src"` ++ ln -s "${src1}${suf}" "${destroot}/${dest}${suf}" + ;; + esac + fi |