Date: Tue, 12 Dec 2000 00:34:25 +0100 From: Dirk Froemberg <dirk@FreeBSD.org> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: Ports Team <ports@FreeBSD.org> Subject: Re: www/mod_php4 patch for jstring Message-ID: <20001212003425.A16815@physik.TU-Berlin.DE> In-Reply-To: <7mofyj3efz.wl@waterblue.imgsrc.co.jp>; from kuriyama@imgsrc.co.jp on Mon, Dec 11, 2000 at 11:00:00AM %2B0900 References: <7mofyj3efz.wl@waterblue.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jun! On Mon, Dec 11, 2000 at 11:00:00AM +0900, Jun Kuriyama wrote: > Is it possible to apply this patch to www/mod_php4 port? This enables > to configure with jstring module for PHP4 which supports additional > Japanese string functions. Everything is possible... 8-) Can you please check if the attached patch fits your needs, too? I'd prefer doing it this way... Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mod_php4.diff" Index: mod_php4/Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/Makefile,v retrieving revision 1.121 diff -u -r1.121 Makefile --- mod_php4/Makefile 2000/10/16 16:09:43 1.121 +++ mod_php4/Makefile 2000/12/11 23:32:16 @@ -43,7 +43,8 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ TOUCH="${TOUCH}" \ - MKDIR="${MKDIR}" + MKDIR="${MKDIR}" \ + CAT="${CAT}" .if exists(${APXS}) AP_LIBEXEC!= ${APXS} -q LIBEXEC Index: mod_php4/distinfo =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/distinfo,v retrieving revision 1.89 diff -u -r1.89 distinfo --- mod_php4/distinfo 2000/10/16 16:09:43 1.89 +++ mod_php4/distinfo 2000/12/11 23:32:16 @@ -1 +1,2 @@ MD5 (php-4.0.3pl1.tar.gz) = 6969bc69588400557f70a014ab1536c1 +MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0 Index: mod_php4/scripts/configure.php =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/scripts/configure.php,v retrieving revision 1.101 diff -u -r1.101 configure.php --- mod_php4/scripts/configure.php 2000/12/11 22:56:18 1.101 +++ mod_php4/scripts/configure.php 2000/12/11 23:32:17 @@ -29,6 +29,7 @@ XML "XML support" OFF \ FTP "File Transfer Protocol support" OFF \ gettext "gettext library support" OFF \ +jstring "jstring module" OFF \ 2> /tmp/checklist.tmp.$$ retval=$? @@ -156,6 +157,22 @@ \"gettext\") echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext" echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}" + ;; + \"jstring\") + ${CAT} << EOF +MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/ +DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz +CONFIGURE_ARGS+=--enable-jstring +BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake +BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf + +post-extract: + [ -d \${WRKDIR}/jstring ] && \\ + (cd \${WRKSRC}; \\ + \${MV} ${WRKDIR}/jstring ext; \\ + \${RM} configure; \\ + ./buildconf) +EOF ;; *) echo "Invalid option(s): $*" > /dev/stderr --YZ5djTAD1cGYuMQK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001212003425.A16815>