Date: Mon, 4 Aug 2014 22:00:32 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364058 - head/net/mad_fcl Message-ID: <53e00280.50bb.15b9efe5@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Aug 4 22:00:31 2014 New Revision: 364058 URL: http://svnweb.freebsd.org/changeset/ports/364058 QAT: https://qat.redports.org/buildarchive/r364058/ Log: Stage, and fix build without gcc. Modified: head/net/mad_fcl/Makefile Modified: head/net/mad_fcl/Makefile ============================================================================== --- head/net/mad_fcl/Makefile Mon Aug 4 21:55:39 2014 (r364057) +++ head/net/mad_fcl/Makefile Mon Aug 4 22:00:31 2014 (r364058) @@ -25,25 +25,26 @@ PLIST_FILES= bin/flute MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + pre-patch: # Fixing the end-of-lines: - for f in `${FIND} ${WRKSRC}/.. -type f` ; do \ + @for f in `${FIND} ${WRKSRC}/.. -type f` ; do \ ${TR} -d '\015' < $$f > $$f.noms && \ ${CAT} $$f.noms > $$f && ${RM} $$f.noms; done post-patch: - ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/flute/Makefile + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ + ${REINPLACE_CMD} -e 's|gcc|${CC}|' do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${PREFIX}/bin -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor - ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} -.endif + ${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e00280.50bb.15b9efe5>