From owner-svn-ports-branches@FreeBSD.ORG Sat Jan 10 09:35:13 2015 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF45568A; Sat, 10 Jan 2015 09:35:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA74AC7A; Sat, 10 Jan 2015 09:35:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0A9ZCWG034084; Sat, 10 Jan 2015 09:35:12 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0A9ZCUA034082; Sat, 10 Jan 2015 09:35:12 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201501100935.t0A9ZCUA034082@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 10 Jan 2015 09:35:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r376681 - in branches/2015Q1/www/mod_cplusplus: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 09:35:13 -0000 Author: antoine Date: Sat Jan 10 09:35:11 2015 New Revision: 376681 URL: https://svnweb.freebsd.org/changeset/ports/376681 QAT: https://qat.redports.org/buildarchive/r376681/ Log: MFH: r376120 - 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 Added: branches/2015Q1/www/mod_cplusplus/files/patch-configure.in - copied unchanged from r376120, head/www/mod_cplusplus/files/patch-configure.in Modified: branches/2015Q1/www/mod_cplusplus/Makefile Directory Properties: branches/2015Q1/ (props changed) Modified: branches/2015Q1/www/mod_cplusplus/Makefile ============================================================================== --- branches/2015Q1/www/mod_cplusplus/Makefile Sat Jan 10 09:29:23 2015 (r376680) +++ branches/2015Q1/www/mod_cplusplus/Makefile Sat Jan 10 09:35:11 2015 (r376681) @@ -3,7 +3,7 @@ PORTNAME= mod_cplusplus PORTVERSION= 1.5.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= SF/modcplusplus/modcplusplus/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} @@ -11,6 +11,9 @@ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for loading C++ objects as handlers +DEPRECATED= written for apache 2.0, no longer maintained upstream +EXPIRATION_DATE= 2015-02-28 + USES= libtool USE_APACHE= 22 USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake @@ -25,6 +28,12 @@ SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}" WRKSRC= ${WRKDIR}/${PORTNAME} +.include + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1001000 +BROKEN= does not build with new clang +.endif + post-patch: ${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in @@ -36,4 +45,4 @@ do-install: ${INSTALL_LIB} ${WRKSRC}/src/.libs/libmod_cplusplus.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so -.include +.include Copied: branches/2015Q1/www/mod_cplusplus/files/patch-configure.in (from r376120, head/www/mod_cplusplus/files/patch-configure.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2015Q1/www/mod_cplusplus/files/patch-configure.in Sat Jan 10 09:35:11 2015 (r376681, copy of r376120, head/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" +