pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/lyx-qt When configuring reLyX use the value of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d1123d288f6
branches:  trunk
changeset: 486883:4d1123d288f6
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 04 19:51:11 2005 +0000

description:
When configuring reLyX use the value of PERL that is passed in rather
than trying to work it out again (badly).  Fixes the build problems
seen in the bulk builds.
OK'ed by maintainer.

diffstat:

 editors/lyx-qt/distinfo         |   3 +-
 editors/lyx-qt/patches/patch-ai |  42 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 8905ca336a47 -r 4d1123d288f6 editors/lyx-qt/distinfo
--- a/editors/lyx-qt/distinfo   Tue Jan 04 15:51:35 2005 +0000
+++ b/editors/lyx-qt/distinfo   Tue Jan 04 19:51:11 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2004/12/21 07:00:52 martti Exp $
+$NetBSD: distinfo,v 1.7 2005/01/04 19:51:11 markd Exp $
 
 SHA1 (lyx-1.3.5.tar.gz) = b654eff87339019702306c3aec8da8aa8058d386
 Size (lyx-1.3.5.tar.gz) = 7412737 bytes
 SHA1 (patch-aa) = 90a09a1adbb899cbaf063d4d7f46dc77f78a62da
 SHA1 (patch-af) = dfd91bf21ccb7310e7ab8f62425e65efacba87a7
 SHA1 (patch-ah) = 278f5deaf94c1082b755af3cb9511bc2f68231ba
+SHA1 (patch-ai) = ddd905f335293fa510745c5fe4f8011a5b3a1d9e
diff -r 8905ca336a47 -r 4d1123d288f6 editors/lyx-qt/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/lyx-qt/patches/patch-ai   Tue Jan 04 19:51:11 2005 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-ai,v 1.1 2005/01/04 19:51:11 markd Exp $
+
+--- lib/reLyX/configure.orig   2004-10-07 03:43:23.000000000 +1300
++++ lib/reLyX/configure        2005-01-05 02:10:36.000000000 +1300
+@@ -1724,37 +1724,6 @@
+   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 "$as_me:$LINENO: result: $PERL" >&5



Home | Main Index | Thread Index | Old Index