diff options
author | markd <markd> | 2005-01-16 19:49:29 +0000 |
---|---|---|
committer | markd <markd> | 2005-01-16 19:49:29 +0000 |
commit | 4b6cef668fabba4d1a6b9079240e5d4b7b22eddd (patch) | |
tree | c73c97642f5e422d29336cc64b56922d33e1c5d8 /print/cjk-lyx/patches | |
parent | 3d89803bae22d4e85860baa41508f6dd7039aed8 (diff) | |
download | pkgsrc-4b6cef668fabba4d1a6b9079240e5d4b7b22eddd.tar.gz |
Use value of $PERL passed into configure script. As per same change
recently made to lyx-{qt,xforms} packages.
Diffstat (limited to 'print/cjk-lyx/patches')
-rw-r--r-- | print/cjk-lyx/patches/patch-aj | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/print/cjk-lyx/patches/patch-aj b/print/cjk-lyx/patches/patch-aj new file mode 100644 index 00000000000..479fa10d95e --- /dev/null +++ b/print/cjk-lyx/patches/patch-aj @@ -0,0 +1,42 @@ +$NetBSD: patch-aj,v 1.1 2005/01/16 19:49:29 markd Exp $ + +--- lib/reLyX/configure.orig 2002-05-24 00:05:26.000000000 +1200 ++++ lib/reLyX/configure +@@ -1032,37 +1032,6 @@ OS/2) + PATH_IFS=':' + ;; + esac +-for ac_prog in perl perl5 perl5.6.1 perl5.6.0 perl5.005 perl5.004 perl5.003 perl5.002 ; do +-# Extract the first word of "$ac_prog", so it can be a program name with +-# args. +- set dummy $ac_prog ; ac_word=$2 +- if test ! -n "$PERL"; then +- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS" +- for ac_dir in $PATH; do +- test -z "$ac_dir" && ac_dir=. +- if test -f $ac_dir/$ac_word -o -f $ac_dir/$ac_word$ac_exeext; then +- PERL="$ac_prog" +- break +- fi +- done +- IFS="$ac_save_ifs" +- fi +- +- if test -n "$PERL"; then +- ac_result=yes +- else +- ac_result=no +- fi +- +-if echo 'require 5.002;exit' | $ac_dir/$ac_prog 2>&5 +-then +- PERL=$ac_dir/$ac_prog +-else +- PERL= +-fi +- +- test -n "$PERL" && break +-done + + if test -n "$PERL" ; then + echo "$ac_t""$PERL" 1>&6 |