From owner-freebsd-ports Sun Dec 10 18: 0:10 2000 From owner-freebsd-ports@FreeBSD.ORG Sun Dec 10 18:00:06 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 60B1E37B402; Sun, 10 Dec 2000 18:00:04 -0800 (PST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [210.226.20.160]) by white.imgsrc.co.jp (8.11.1/8.11.0) with ESMTP id eBB202Z87099; Mon, 11 Dec 2000 11:00:03 +0900 (JST) Date: Mon, 11 Dec 2000 11:00:00 +0900 Message-ID: <7mofyj3efz.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: dirk@FreeBSD.org Cc: Ports Team Subject: www/mod_php4 patch for jstring User-Agent: Wanderlust/2.3.92 (Roam) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Mon_Dec_11_11:00:00_2000-1" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Mon_Dec_11_11:00:00_2000-1 Content-Type: text/plain; charset=US-ASCII Hi Dirk, 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. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project --Multipart_Mon_Dec_11_11:00:00_2000-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="mod_php4.diff" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/Makefile,v retrieving revision 1.121 diff -u -r1.121 Makefile --- Makefile 2000/10/16 16:09:43 1.121 +++ Makefile 2000/12/06 03:28:17 @@ -28,6 +28,9 @@ PHP_DISTDIR= distributions +JSTRING_SITE= ftp://night.fminn.nagano.nagano.jp/php4/ +JSTRING_DIST= php-4.0RC2_jstring-1.0.tar.gz + APXS= ${PREFIX}/sbin/apxs USE_LIBTOOL= yes @@ -57,6 +60,13 @@ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php + +post-extract: + [ -d ${WRKDIR}/jstring ] && \ + ( ${MV} ${WRKDIR}/jstring ${WRKSRC}/ext/; \ + cd ${WRKSRC}; \ + ${RM} configure; \ + ./buildconf) post-install: @${ECHO} "Restarting Apache..." Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/distinfo,v retrieving revision 1.89 diff -u -r1.89 distinfo --- distinfo 2000/10/16 16:09:43 1.89 +++ distinfo 2000/12/06 03:16:23 @@ -1 +1,2 @@ MD5 (php-4.0.3pl1.tar.gz) = 6969bc69588400557f70a014ab1536c1 +MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0 Index: scripts/configure.php =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/scripts/configure.php,v retrieving revision 1.100 diff -u -r1.100 configure.php --- scripts/configure.php 2000/11/16 10:14:31 1.100 +++ scripts/configure.php 2000/12/06 03:37:48 @@ -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=$? @@ -146,16 +147,19 @@ ;; \"XML\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat" - echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat" - echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat" echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}" ;; \"FTP\") echo "CONFIGURE_ARGS+=--enable-ftp" ;; \"gettext\") - echo "LIB_DEPENDS+= intl.1:${PORTSDIR}/devel/gettext" - echo "CONFIGURE_ARGS+=--with-gettext=${PREFIX}" + echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext" + echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}" + ;; + \"jstring\") + echo "MASTER_SITES+= \${JSTRING_SITE}" + echo "DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} \${JSTRING_DIST}" + echo "CONFIGURE_ARGS+=--enable-jstring" ;; *) echo "Invalid option(s): $*" > /dev/stderr --Multipart_Mon_Dec_11_11:00:00_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message