Date: Tue, 4 Oct 2016 21:51:15 +0000 (UTC) From: Lars Engels <lme@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423305 - head/devel/astyle Message-ID: <201610042151.u94LpFMV073478@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lme Date: Tue Oct 4 21:51:15 2016 New Revision: 423305 URL: https://svnweb.freebsd.org/changeset/ports/423305 Log: devel/astyle: - Remove doubled CLFAGS - Use astyle/build/${COMPILER_TYPE} as WRCSRC instead of hard-coding gcc - Remove blank MAGE_ARGS - Drop no longer needed pre-patch target - Stripping the binary is now done by the linker itself PR: 213042 Submitted by: bsam Modified: head/devel/astyle/Makefile Modified: head/devel/astyle/Makefile ============================================================================== --- head/devel/astyle/Makefile Tue Oct 4 21:39:52 2016 (r423304) +++ head/devel/astyle/Makefile Tue Oct 4 21:51:15 2016 (r423305) @@ -13,22 +13,18 @@ COMMENT= Source code indenter and format LICENSE= LGPL3 ALL_TARGET= astyle -CFLAGS+= -W -Wall -fno-rtti -fno-exceptions LDFLAGS+= -s -MAKE_ARGS+= CFLAGS="${CFLAGS}" USES= compiler gmake iconv -WRKSRC= ${WRKDIR}/astyle/build/gcc +WRKSRC= ${WRKDIR}/astyle/build/${COMPILER_TYPE} OPTIONS_DEFINE= DOCS pre-patch: - @${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},; \ - s,\(CFLAGSr.*=.*\),\1 -I${LOCALBASE}/include,' \ + @${REINPLACE_CMD} -e 's,\(CFLAGSr.*=.*\),\1 -I${LOCALBASE}/include,' \ ${WRKSRC}/Makefile do-install: - ${STRIP_CMD} ${WRKSRC}/bin/astyle ${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/* ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610042151.u94LpFMV073478>