From owner-svn-ports-head@FreeBSD.ORG Sat Sep 13 16:47:10 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E262247; Sat, 13 Sep 2014 16:47:10 +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 0DD99D43; Sat, 13 Sep 2014 16:47:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8DGl9L1018438; Sat, 13 Sep 2014 16:47:09 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8DGl9cF018437; Sat, 13 Sep 2014 16:47:09 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409131647.s8DGl9cF018437@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sat, 13 Sep 2014 16:47:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368120 - head/www/mod_cplusplus X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 16:47:10 -0000 Author: tijl Date: Sat Sep 13 16:47:09 2014 New Revision: 368120 URL: http://svnweb.freebsd.org/changeset/ports/368120 QAT: https://qat.redports.org/buildarchive/r368120/ Log: - Convert to USES=libtool - Replace pre-configure with USE_AUTOTOOLS=libtoolize - Use INSTALL_LIB to install library Modified: head/www/mod_cplusplus/Makefile Modified: head/www/mod_cplusplus/Makefile ============================================================================== --- head/www/mod_cplusplus/Makefile Sat Sep 13 15:30:13 2014 (r368119) +++ head/www/mod_cplusplus/Makefile Sat Sep 13 16:47:09 2014 (r368120) @@ -3,7 +3,7 @@ PORTNAME= mod_cplusplus PORTVERSION= 1.5.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= SF/modcplusplus/modcplusplus/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} @@ -11,33 +11,29 @@ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for loading C++ objects as handlers - +USES= libtool USE_APACHE= 22 -USE_AUTOTOOLS= autoconf autoheader libtool automake aclocal -CFLAGS+= -I${LOCALBASE}/include +USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake +AUTOMAKE_ARGS= -a -c -f GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-apxs=${APXS} -ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal -AUTOMAKE_ARGS+= -a +CONFIGURE_ARGS= --with-apxs=${APXS} +CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}" WRKSRC= ${WRKDIR}/${PORTNAME} -post-extract: +post-patch: ${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in -pre-configure: - (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy) - do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR} ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} - ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so \ + ${INSTALL_LIB} ${WRKSRC}/src/.libs/libmod_cplusplus.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so .include