summaryrefslogtreecommitdiff
path: root/www/mod_cplusplus/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-30 23:24:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-30 23:24:37 +0000
commite881321bb08506a42198b1f78418d78fe469ba31 (patch)
tree55246408c67b7924ef9ea579785489e857f6b7bf /www/mod_cplusplus/files
parent- Fix undefined references in library (previously it could only be used with (diff)
mod_cplusplus is a proper apache module which allows you to load cpp objects
as handlers for Apache-2.0. It differs from other modules i've seen in that it manages the loading and calling of separate shared objects containing your handler classes. This allows you to easily and cleanly run an entire site with c++ handlers. WWW: http://modcplusplus.sourceforge.net/ PR: ports/107361 Submitted by: Michael Durian <durian at shadetreesoftware.com>
Notes
Notes: svn path=/head/; revision=181111
Diffstat (limited to 'www/mod_cplusplus/files')
-rw-r--r--www/mod_cplusplus/files/patch-configure.in46
-rw-r--r--www/mod_cplusplus/files/pkg-message.in7
2 files changed, 53 insertions, 0 deletions
diff --git a/www/mod_cplusplus/files/patch-configure.in b/www/mod_cplusplus/files/patch-configure.in
new file mode 100644
index 000000000000..30a730368b35
--- /dev/null
+++ b/www/mod_cplusplus/files/patch-configure.in
@@ -0,0 +1,46 @@
+*** configure.in.orig Sat Dec 30 10:47:15 2006
+--- configure.in Sat Dec 30 10:56:16 2006
+***************
+*** 9,15 ****
+ dnl hack to get shlib extension
+ AC_MSG_CHECKING(what the shared library extension is)
+ eval SHLIB_EXT=\"$shrext\"
+! if test "$SHLIB_EXT" == "" ; then
+ AC_MSG_RESULT(could not determine shared library extension. Defaulting to .so)
+ SHLIB_EXT=".so"
+ fi
+--- 9,15 ----
+ dnl hack to get shlib extension
+ AC_MSG_CHECKING(what the shared library extension is)
+ eval SHLIB_EXT=\"$shrext\"
+! if test "x$SHLIB_EXT" = "x" ; then
+ AC_MSG_RESULT(could not determine shared library extension. Defaulting to .so)
+ SHLIB_EXT=".so"
+ fi
+***************
+*** 58,69 ****
+ fi
+ ],)
+
+! if test "$INCLUDES" == "" ; then
+ AC_MSG_ERROR(could not generate includes with apxs set to "$APXS" - you must specify a valid path to apxs using the --with-apxs flag)
+ fi
+
+ AC_CHECK_LIB(stdc++, __gxx_personality_v0, LIB_STDCPP="-lstdc++")
+! if test "$LIB_STDCPP" == "" ; then
+ CPPFLAGS="$CPPFLAGS -DNO_STDCPP"
+ fi
+ CPLUSPLUS_BUILDDIR=`pwd`
+--- 58,69 ----
+ fi
+ ],)
+
+! if test "x$INCLUDES" = "x" ; then
+ AC_MSG_ERROR(could not generate includes with apxs set to "$APXS" - you must specify a valid path to apxs using the --with-apxs flag)
+ fi
+
+ AC_CHECK_LIB(stdc++, __gxx_personality_v0, LIB_STDCPP="-lstdc++")
+! if test "x$LIB_STDCPP" = "x" ; then
+ CPPFLAGS="$CPPFLAGS -DNO_STDCPP"
+ fi
+ CPLUSPLUS_BUILDDIR=`pwd`
diff --git a/www/mod_cplusplus/files/pkg-message.in b/www/mod_cplusplus/files/pkg-message.in
new file mode 100644
index 000000000000..f2507249cd67
--- /dev/null
+++ b/www/mod_cplusplus/files/pkg-message.in
@@ -0,0 +1,7 @@
+************************************************************
+To enable this module, add the following to your server
+configuration file:
+
+ LoadModule cplusplus_module %%APACHEMODDIR%%/mod_cplusplus.so
+
+************************************************************