summaryrefslogtreecommitdiff
path: root/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch
blob: 967c005b08beb18d5b9cf5e0db6d437e99e04565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/make-makelib.sh
+++ b/make-makelib.sh
@@ -1,6 +1,6 @@
 echo 'main="$1"; shift'
 echo 'rm -f "$main"'
-echo 'ar cr "$main" ${1+"$@"}'
+echo '${AR} cr "$main" ${1+"$@"}'
 
 case "$1" in
 sunos-5.*) ;;
@@ -11,6 +11,6 @@
 hp-ux-*) ;;
 sco*) ;;
 *)
-  echo 'ranlib "$main"'
+  echo '${RANLIB} "$main"'
   ;;
 esac