FreeBSD Bugzilla – Attachment 175223 Details for
Bug 213042
devel/astyle: build according to $COMPILER_TYPE and simplify Makefile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
build according to $COMPILER_TYPE and simplify Makefile
devel_astyle.diff (text/plain), 870 bytes, created by
Boris Samorodov
on 2016-09-28 09:59:23 UTC
(
hide
)
Description:
build according to $COMPILER_TYPE and simplify Makefile
Filename:
MIME Type:
Creator:
Boris Samorodov
Created:
2016-09-28 09:59:23 UTC
Size:
870 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 422769) >+++ Makefile (working copy) >@@ -13,22 +13,18 @@ > 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}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213042
:
175223
|
175224