Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 23:57:07 +0900 (JST)
From:      Hidekazu Kuroki <hidekazu@pc88.gr.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dirk@FreeBSD.org
Subject:   ports/36101: Patch for ports www/mod_php4 with iconv support.
Message-ID:  <200203191457.g2JEv7U42255@gate.pc88.gr.jp>

next in thread | raw e-mail | index | archive | help

>Number:         36101
>Category:       ports
>Synopsis:       Patch for ports www/mod_php4 with iconv support.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 19 07:00:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hidekazu Kuroki
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Hidekazu Kuroki
>Environment:
System: FreeBSD gate.pc88.gr.jp 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


>Description:
This is patch for www/mod_php4 with iconv support.
 - Change configure script.
   ( s/giconv:2/iconv:3/g )
 - Change default library for iconv support.
   ( s/iconv/libiconv/ )
	
	
>How-To-Repeat:
	
>Fix:
*** scripts/configure.php.orig	Thu Mar 14 12:19:55 2002
--- scripts/configure.php	Tue Mar 19 23:11:07 2002
***************
*** 143,151 ****
  			;;
  		\"SybaseDB\")
  			echo "LIB_DEPENDS+=	sybdb.1:\${PORTSDIR}/databases/freetds"
! 			echo "LIB_DEPENDS+=	giconv.2:\${PORTSDIR}/converters/libiconv"
  			echo "CONFIGURE_ARGS+=--with-sybase=\${LOCALBASE}"
! 			LIBS="${LIBS} -L\${LOCALBASE}/lib -lgiconv"
  			if [ "$SYBASECT" ]; then
  				echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
--- 143,151 ----
  			;;
  		\"SybaseDB\")
  			echo "LIB_DEPENDS+=	sybdb.1:\${PORTSDIR}/databases/freetds"
! 			echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
  			echo "CONFIGURE_ARGS+=--with-sybase=\${LOCALBASE}"
! 			LIBS="${LIBS} -L\${LOCALBASE}/lib -liconv"
  			if [ "$SYBASECT" ]; then
  				echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
***************
*** 155,163 ****
  			;;
  		\"SybaseCT\")
  			echo "LIB_DEPENDS+=	ct.0:\${PORTSDIR}/databases/freetds"
! 			echo "LIB_DEPENDS+=	giconv.2:\${PORTSDIR}/converters/libiconv"
  			echo "CONFIGURE_ARGS+=--with-sybase-ct=\${LOCALBASE}"
! 			LIBS="${LIBS} -L\${LOCALBASE}/lib -lgiconv"
  			if [ "$SYBASEDB" ]; then
  				echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
--- 155,163 ----
  			;;
  		\"SybaseCT\")
  			echo "LIB_DEPENDS+=	ct.0:\${PORTSDIR}/databases/freetds"
! 			echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
  			echo "CONFIGURE_ARGS+=--with-sybase-ct=\${LOCALBASE}"
! 			LIBS="${LIBS} -L\${LOCALBASE}/lib -liconv"
  			if [ "$SYBASEDB" ]; then
  				echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
***************
*** 242,248 ****
  			echo "CONFIGURE_ARGS+=--with-gettext=\${LOCALBASE}"
  			;;
  		\"iconv\")
! 			echo "LIB_DEPENDS+=	iconv.2:\${PORTSDIR}/converters/iconv"
  			echo "CONFIGURE_ARGS+=--with-iconv=\${LOCALBASE}"
  			ICONV=1
  			;;
--- 242,248 ----
  			echo "CONFIGURE_ARGS+=--with-gettext=\${LOCALBASE}"
  			;;
  		\"iconv\")
! 			echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
  			echo "CONFIGURE_ARGS+=--with-iconv=\${LOCALBASE}"
  			ICONV=1
  			;;

	


>Release-Note:
>Audit-Trail:
>Unformatted:

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?200203191457.g2JEv7U42255>