- Respect CC/CFLAGS
PR: 162913 Submitted by: Jan Beich <jbeich@tormail.net>
This commit is contained in:
parent
866b757baf
commit
3a0015019d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289201
@ -23,4 +23,12 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-rexx=regina
|
||||
DATADIR= ${PREFIX}/share/rexx${PORTNAME}
|
||||
|
||||
post-patch: .SILENT
|
||||
@${REINPLACE_CMD} -Ee "/^compiler\.unix/s,'.*','${CC:T}'," \
|
||||
-e "s,cc\.cc = .*,cc.${CC:T} = '${CC}'," \
|
||||
-e "/ opt/s/-[Og][^' ]?//" \
|
||||
-e "s,cflags\. = '(.*)',cflags. = '\1 ${CFLAGS}'," \
|
||||
${WRKSRC}/rexxwrap.cmd
|
||||
@${REINPLACE_CMD} 's/-compiler=$$(CC/&:T/' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user