Date: Thu, 1 Jan 2015 16:09:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375943 - head/databases/p5-DBD-ODBC Message-ID: <201501011609.t01G9pgV003217@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501011609.t01G9pgV003217>