[csw-devel] SF.net SVN: gar:[3483] csw/mgar/pkg/php5_readline/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed Feb 25 18:33:40 CET 2009


Revision: 3483
          http://gar.svn.sourceforge.net/gar/?rev=3483&view=rev
Author:   valholla
Date:     2009-02-25 17:33:39 +0000 (Wed, 25 Feb 2009)

Log Message:
-----------
working recipe

Modified Paths:
--------------
    csw/mgar/pkg/php5_readline/trunk/Makefile
    csw/mgar/pkg/php5_readline/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/php5_readline/trunk/files/forcereadline.diff

Modified: csw/mgar/pkg/php5_readline/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5_readline/trunk/Makefile	2009-02-24 23:19:49 UTC (rev 3482)
+++ csw/mgar/pkg/php5_readline/trunk/Makefile	2009-02-25 17:33:39 UTC (rev 3483)
@@ -25,21 +25,21 @@
 SPKG_SOURCEURL = http://www.php.net/get/
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
+PATCHFILES = forcereadline.diff
 DISTFILES = $(DISTNAME).tar.bz2
 
 CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
 SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWreadline
+REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWreadline CSWncurses
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-readline=shared,$(prefix)
+CONFIGURE_ARGS += --with-readline=$(prefix)
 
-post-extract-modulated:
+post-patch-modulated:
 	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
 	$(DONADA)
 
-
 TEST_SCRIPTS = manual
 
 test-manual:

Modified: csw/mgar/pkg/php5_readline/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5_readline/trunk/checksums	2009-02-24 23:19:49 UTC (rev 3482)
+++ csw/mgar/pkg/php5_readline/trunk/checksums	2009-02-25 17:33:39 UTC (rev 3483)
@@ -1 +1,2 @@
 7380ffecebd95c6edb317ef861229ebd  download/php-5.2.6.tar.bz2
+73c1044ad8545e40e47741d50a253e7c  download/forcereadline.diff

Added: csw/mgar/pkg/php5_readline/trunk/files/forcereadline.diff
===================================================================
--- csw/mgar/pkg/php5_readline/trunk/files/forcereadline.diff	                        (rev 0)
+++ csw/mgar/pkg/php5_readline/trunk/files/forcereadline.diff	2009-02-25 17:33:39 UTC (rev 3483)
@@ -0,0 +1,11 @@
+--- ./config.m4.orig	2009-02-25 10:49:36.267948251 -0600
++++ ./config.m4	2009-02-25 10:50:04.992804101 -0600
+@@ -5,6 +5,8 @@
+ PHP_ARG_WITH(libedit,for libedit readline replacement, 
+ [  --with-libedit[=DIR]    Include libedit readline replacement (CLI/CGI only)])
+ 
++dnl Force the use of readline
++PHP_LIBEDIT="no"
+ if test "$PHP_LIBEDIT" = "no"; then
+   PHP_ARG_WITH(readline,for readline support,
+   [  --with-readline[=DIR]   Include readline support (CLI/CGI only)])


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list