summaryrefslogtreecommitdiff
path: root/www/mod_cplusplus/files
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2015-01-03 15:06:17 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2015-01-03 15:06:17 +0000
commitfb33ab0e0d066dc5e3113f44390d1304e047994f (patch)
tree62fb47089c32f35fa55223c21a29a56337c89dae /www/mod_cplusplus/files
parentUpdate to xpaint 2.9.10.3 (diff)
- try to fix linker error (/usr/bin/ld: cannot find -lstdc++) [1]
- mark broken on FreeBSD > 1001000 - mark DEPRECATED, set EXPIRATION_DATE to 2015-02-28 [2] - bump PORTREVISION to allert potential users [1] setting ac_cv_header_stdc=no or CPPFLAGS+=-DNO_STDCPP in Makefile does not work, so try to fix direct configure.in [2] source written for apache 2.0, last release dates back to 2008-07-08
Notes
Notes: svn path=/head/; revision=376120
Diffstat (limited to 'www/mod_cplusplus/files')
-rw-r--r--www/mod_cplusplus/files/patch-configure.in14
1 files changed, 14 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..b96e086df0b7
--- /dev/null
+++ b/www/mod_cplusplus/files/patch-configure.in
@@ -0,0 +1,14 @@
+--- configure.in.orig 2007-04-09 17:25:44 UTC
++++ configure.in
+@@ -62,10 +62,7 @@ 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 "$LIB_STDCPP" == "" ; then
+- CPPFLAGS="$CPPFLAGS -DNO_STDCPP"
+- fi
++CPPFLAGS="$CPPFLAGS -DNO_STDCPP"
+ CPLUSPLUS_BUILDDIR=`pwd`
+ CPPFLAGS="$CPPFLAGS -Wall -Werror -g -I$CPLUSPLUS_BUILDDIR/include"
+