pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cjk-lyx Use value of $PERL passed into configure...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e211f9877b51
branches:  trunk
changeset: 487547:e211f9877b51
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Jan 16 19:49:29 2005 +0000

description:
Use value of $PERL passed into configure script. As per same change
recently made to lyx-{qt,xforms} packages.

diffstat:

 print/cjk-lyx/distinfo         |   3 ++-
 print/cjk-lyx/patches/patch-aj |  42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletions(-)

diffs (60 lines):

diff -r 59e30e04e11b -r e211f9877b51 print/cjk-lyx/distinfo
--- a/print/cjk-lyx/distinfo    Sun Jan 16 19:33:27 2005 +0000
+++ b/print/cjk-lyx/distinfo    Sun Jan 16 19:49:29 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/11/18 00:14:04 hubertf Exp $
+$NetBSD: distinfo,v 1.5 2005/01/16 19:49:29 markd Exp $
 
 SHA1 (lyx-1.2.0.tar.gz) = 56db850f316c18e00c4b10946216b6eb25107dab
 Size (lyx-1.2.0.tar.gz) = 6418424 bytes
@@ -13,3 +13,4 @@
 SHA1 (patch-ag) = b1f3e8e12d667f2761206bcd4d9d0d5c450fac09
 SHA1 (patch-ah) = 100b2b3d4f823a472e7c69dbd3130c830a1a6cba
 SHA1 (patch-ai) = 3e694cf156a527bba9155de49c3a6a9fb66af014
+SHA1 (patch-aj) = 8a8e5750fe67093e748791da7b11141fcf3a0795
diff -r 59e30e04e11b -r e211f9877b51 print/cjk-lyx/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cjk-lyx/patches/patch-aj    Sun Jan 16 19:49:29 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index