diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-11-26 21:29:31 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-11-26 21:29:31 +0000 |
commit | 9b4b6868967a9107d57e8585e3436f92188eb863 (patch) | |
tree | ca85fd1b00bcfac542815554b74e65de329fa903 /www | |
parent | ba1054a88a80b475c84ea1899ed07ed92f0c293b (diff) | |
download | ports-9b4b6868967a9107d57e8585e3436f92188eb863.tar.gz ports-9b4b6868967a9107d57e8585e3436f92188eb863.zip |
Add support for MCAL (Modular Calendar Access Library)
PR: ports/31417
Submitted by: Thierry Thomas <thierry@thomas.as>
Notes
Notes:
svn path=/head/; revision=50601
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_php4/files/patch-ext_mcal_config.m4 | 12 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 5 | ||||
-rw-r--r-- | www/mod_php5/files/patch-ext_mcal_config.m4 | 12 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 5 |
4 files changed, 34 insertions, 0 deletions
diff --git a/www/mod_php4/files/patch-ext_mcal_config.m4 b/www/mod_php4/files/patch-ext_mcal_config.m4 new file mode 100644 index 000000000000..c6c639940c6e --- /dev/null +++ b/www/mod_php4/files/patch-ext_mcal_config.m4 @@ -0,0 +1,12 @@ +--- ext/mcal/config.m4.orig Tue Mar 27 22:34:31 2001 ++++ ext/mcal/config.m4 Mon Nov 26 18:22:29 2001 +@@ -40,7 +40,8 @@ + fi + + PHP_ADD_INCLUDE($MCAL_INCLUDE) +- PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD) ++ PHP_ADD_LIBPATH($MCAL_LIBRARY, MCAL_SHARED_LIBADD) ++ PHP_ADD_LIBRARY(mcal, 1, MCAL_SHARED_LIBADD) + PHP_SUBST(MCAL_SHARED_LIBADD) + AC_DEFINE(HAVE_MCAL,1,[ ]) + PHP_EXTENSION(mcal,$ext_shared) diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 42f6a1985d24..23ee321872b3 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -48,6 +48,7 @@ YP "YP/NIS support" OFF \ BCMath "BCMath support" OFF \ Hyperwave "Hyperwave support" OFF \ ming "ming library support" OFF \ +MCAL "Modular Calendar Access Library support" OFF \ sockets "sockets support" OFF \ sysvsem "System V semaphore support" OFF \ sysvshm "System V shared memory support" OFF \ @@ -276,6 +277,10 @@ EOF echo "LIB_DEPENDS+= ming.3:\${PORTSDIR}/graphics/ming" echo "CONFIGURE_ARGS+=--with-ming=\${PREFIX}" ;; + \"MCAL\") + echo "CONFIGURE_ARGS+=--with-mcal=\${PREFIX}" + echo "LIB_DEPENDS+= mcal.0:\${PORTSDIR}/misc/libmcal" + ;; \"sockets\") echo "CONFIGURE_ARGS+=--enable-sockets" ;; diff --git a/www/mod_php5/files/patch-ext_mcal_config.m4 b/www/mod_php5/files/patch-ext_mcal_config.m4 new file mode 100644 index 000000000000..c6c639940c6e --- /dev/null +++ b/www/mod_php5/files/patch-ext_mcal_config.m4 @@ -0,0 +1,12 @@ +--- ext/mcal/config.m4.orig Tue Mar 27 22:34:31 2001 ++++ ext/mcal/config.m4 Mon Nov 26 18:22:29 2001 +@@ -40,7 +40,8 @@ + fi + + PHP_ADD_INCLUDE($MCAL_INCLUDE) +- PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD) ++ PHP_ADD_LIBPATH($MCAL_LIBRARY, MCAL_SHARED_LIBADD) ++ PHP_ADD_LIBRARY(mcal, 1, MCAL_SHARED_LIBADD) + PHP_SUBST(MCAL_SHARED_LIBADD) + AC_DEFINE(HAVE_MCAL,1,[ ]) + PHP_EXTENSION(mcal,$ext_shared) diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 42f6a1985d24..23ee321872b3 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -48,6 +48,7 @@ YP "YP/NIS support" OFF \ BCMath "BCMath support" OFF \ Hyperwave "Hyperwave support" OFF \ ming "ming library support" OFF \ +MCAL "Modular Calendar Access Library support" OFF \ sockets "sockets support" OFF \ sysvsem "System V semaphore support" OFF \ sysvshm "System V shared memory support" OFF \ @@ -276,6 +277,10 @@ EOF echo "LIB_DEPENDS+= ming.3:\${PORTSDIR}/graphics/ming" echo "CONFIGURE_ARGS+=--with-ming=\${PREFIX}" ;; + \"MCAL\") + echo "CONFIGURE_ARGS+=--with-mcal=\${PREFIX}" + echo "LIB_DEPENDS+= mcal.0:\${PORTSDIR}/misc/libmcal" + ;; \"sockets\") echo "CONFIGURE_ARGS+=--enable-sockets" ;; |