From owner-svn-ports-all@FreeBSD.ORG Thu Jan 1 16:09:51 2015 Return-Path: Delivered-To: svn-ports-all@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 D8A84C2F; Thu, 1 Jan 2015 16:09:51 +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 C03869B; Thu, 1 Jan 2015 16:09:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t01G9pfQ003218; Thu, 1 Jan 2015 16:09:51 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t01G9pgV003217; Thu, 1 Jan 2015 16:09:51 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201501011609.t01G9pgV003217@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 1 Jan 2015 16:09:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375943 - head/databases/p5-DBD-ODBC X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2015 16:09:52 -0000 Author: sunpoet Date: Thu Jan 1 16:09:50 2015 New Revision: 375943 URL: https://svnweb.freebsd.org/changeset/ports/375943 QAT: https://qat.redports.org/buildarchive/r375943/ Log: - Remove deprecated PTHREAD_* - Use REINPLACE_CMD instead of PERL - Add PORTSCOUT - Simplify Makefile Modified: head/databases/p5-DBD-ODBC/Makefile Modified: head/databases/p5-DBD-ODBC/Makefile ============================================================================== --- head/databases/p5-DBD-ODBC/Makefile Thu Jan 1 16:09:44 2015 (r375942) +++ head/databases/p5-DBD-ODBC/Makefile Thu Jan 1 16:09:50 2015 (r375943) @@ -21,21 +21,19 @@ LIB_DEPENDS= libodbc.so:${PORTSDIR}/data OPTIONS_DEFINE= DOCS +PORTSCOUT= limit:^[0-9\.]*$$ + USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= -o ${LOCALBASE} PORTDOCS= Changes README README.adabas README.informix -MYODBC= unixodbc - post-patch: - @${REINPLACE_CMD} -e '/my $$myodbc/ s|q{}|"${MYODBC}"|' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -e '/my $$myodbc/ s|q{}|"unixodbc"|' ${WRKSRC}/Makefile.PL post-configure: - @${PERL} -pi -e 's/-lodbc/-lodbc ${PTHREAD_LIBS}/g;' \ - -e 's/$$/ ${PTHREAD_CFLAGS}/ if (/^CCFLAGS/);' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-lodbc|& -pthread|g' ${WRKSRC}/Makefile post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}