From 62a1a7ad692568aa8ee6ade41ae7c0a85efd7be4 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Tue, 25 Dec 2001 15:08:34 +0000 Subject: Fix SybaseDB and SybaseCT after freetds upgrade: - sybdb.0 -> sybdb.1 - include libgiconv in LIBS Reported by: Alexandr Listopad --- www/mod_php4/scripts/configure.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www/mod_php4/scripts/configure.php') diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 7b71120d5413..ed74b8d959d1 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -141,8 +141,10 @@ while [ "$1" ]; do fi ;; \"SybaseDB\") - echo "LIB_DEPENDS+= sybdb.0:\${PORTSDIR}/databases/freetds" + 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 @@ -152,7 +154,9 @@ while [ "$1" ]; do ;; \"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 -- cgit v1.2.3