Date: Sun, 1 Jun 2014 10:31:45 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r356091 - branches/2014Q2/lang/execline Message-ID: <201406011031.s51AVjEH087416@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sun Jun 1 10:31:45 2014 New Revision: 356091 URL: http://svnweb.freebsd.org/changeset/ports/356091 QAT: https://qat.redports.org/buildarchive/r356091/ Log: MFH: r356067 - Fix build on 10+ by respecting CC, CFLAGS - Add staging support - Convert to new options framework Approved by: portmgr (miwi) Modified: branches/2014Q2/lang/execline/Makefile Directory Properties: branches/2014Q2/ (props changed) Modified: branches/2014Q2/lang/execline/Makefile ============================================================================== --- branches/2014Q2/lang/execline/Makefile Sun Jun 1 10:28:07 2014 (r356090) +++ branches/2014Q2/lang/execline/Makefile Sun Jun 1 10:31:45 2014 (r356091) @@ -16,7 +16,8 @@ WRKSRC= ${WRKDIR}/admin/${DISTNAME} DOCS= package/CHANGES package/README package/THANKS package/TODO \ doc/*.html -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-configure: ${ECHO_CMD} "FreeBSD" > ${WRKSRC}/src/sys/systype ${ECHO_CMD} "${LOCALBASE}/include/skalibs" \ @@ -25,20 +26,22 @@ do-configure: >> ${WRKSRC}/conf-compile/import ${REINPLACE_CMD} -e 's|superstrip1|#superstrip1|g' \ ${WRKSRC}/conf-compile/conf-stripbins + @${REINPLACE_CMD} 's|gcc|${CC}|; s|-O2.*|${CFLAGS}|' \ + ${WRKSRC}/conf-compile/conf-cc \ + ${WRKSRC}/conf-compile/conf-ld do-build: cd ${WRKSRC} && package/compile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin - @${MKDIR} ${PREFIX}/include/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/etc/* ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/include/* \ + ${STAGEDIR}${PREFIX}/include/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/library/* ${STAGEDIR}${PREFIX}/lib + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/etc/* ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011031.s51AVjEH087416>