diff options
Diffstat (limited to 'sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch')
-rw-r--r-- | sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch b/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch new file mode 100644 index 000000000000..967c005b08be --- /dev/null +++ b/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch @@ -0,0 +1,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 |