Bug 110209 - [PATCH] devel/pear: Fix ``pecl'' CLI script
Summary: [PATCH] devel/pear: Fix ``pecl'' CLI script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 07:00 UTC by chinsan
Modified: 2007-04-30 09:50 UTC (History)
1 user (show)

See Also:


Attachments
pear-1.5.0_2.patch (955 bytes, patch)
2007-03-12 07:00 UTC, chinsan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chinsan freebsd_committer freebsd_triage 2007-03-12 07:00:06 UTC
- Port maintainer (ale@FreeBSD.org) is cc'd.

- The `pecl' script needs "pcre.so" extension to run.
  But `php -n' will make php binary run without to use php.ini,
  Therefore, it will return some error message like 
   "Fatal error: Call to undefined function preg_match() in 
    /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70"

  Here's the patch:

--- pecl~       Mon Mar 12 13:46:45 2007
+++ pecl        Mon Mar 12 13:46:45 2007
@@ -25,4 +25,4 @@
   fi
 fi

-exec $PHP -C -n -q $INCARG -d output_buffering=1 -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"
+exec $PHP -C -q $INCARG -d output_buffering=1 -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-12 07:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-04-30 09:40:27 UTC
ale         2007-04-30 08:40:19 UTC

  FreeBSD ports repository

  Modified files:
    devel/pear           Makefile distinfo 
    devel/pear/files     patch-go-pear 
  Log:
  - Update to 1.5.3 release [1]
  - Fix pecl command execution [2]
  
  PR:             ports/110209 [2]
  Submitted by:   miwi [1], chinsan [2]
  
  Revision  Changes    Path
  1.23      +3 -2      ports/devel/pear/Makefile
  1.8       +3 -3      ports/devel/pear/distinfo
  1.4       +8 -28     ports/devel/pear/files/patch-go-pear
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2007-04-30 09:40:39 UTC
State Changed
From-To: open->closed

Fixed, thanks.