diff options
author | markd <markd@pkgsrc.org> | 2005-01-16 19:49:29 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2005-01-16 19:49:29 +0000 |
commit | 44b9cb852648d33cdb10095596cbf88b242afaaa (patch) | |
tree | c73c97642f5e422d29336cc64b56922d33e1c5d8 /print/cjk-lyx | |
parent | bf25dd496f794347b4371c29ab710ce4ff63efc7 (diff) | |
download | pkgsrc-44b9cb852648d33cdb10095596cbf88b242afaaa.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')
-rw-r--r-- | print/cjk-lyx/distinfo | 3 | ||||
-rw-r--r-- | print/cjk-lyx/patches/patch-aj | 42 |
2 files changed, 44 insertions, 1 deletions
diff --git a/print/cjk-lyx/distinfo b/print/cjk-lyx/distinfo index 8d38df668f4..0bba22ee0d5 100644 --- a/print/cjk-lyx/distinfo +++ b/print/cjk-lyx/distinfo @@ -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-af) = f09bdf2b9e8da14e9b58b683ab40e89775344ec3 SHA1 (patch-ag) = b1f3e8e12d667f2761206bcd4d9d0d5c450fac09 SHA1 (patch-ah) = 100b2b3d4f823a472e7c69dbd3130c830a1a6cba SHA1 (patch-ai) = 3e694cf156a527bba9155de49c3a6a9fb66af014 +SHA1 (patch-aj) = 8a8e5750fe67093e748791da7b11141fcf3a0795 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 |