summaryrefslogtreecommitdiff
path: root/lang/librep
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-29 20:33:45 +0000
committerjlam <jlam>2000-10-29 20:33:45 +0000
commit0bbc5665f0f7efc7df6137318b597988803c5d55 (patch)
tree51b85cd9f778950cd1025f739ed941469ba148fb /lang/librep
parent8ab0aeea25d4f851949c2cdd2c3c6e7efab1096f (diff)
downloadpkgsrc-0bbc5665f0f7efc7df6137318b597988803c5d55.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>.
Diffstat (limited to 'lang/librep')
-rw-r--r--lang/librep/files/patch-sum6
-rw-r--r--lang/librep/patches/patch-aa16
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