View | Details | Raw Unified | Return to bug 162913 | Differences between
and this patch

Collapse All | Expand All

(-)lang/rexx-wrapper/Makefile (+8 lines)
Lines 23-26 GNU_CONFIGURE= yes Link Here
23
CONFIGURE_ARGS=	--with-rexx=regina
23
CONFIGURE_ARGS=	--with-rexx=regina
24
DATADIR=	${PREFIX}/share/rexx${PORTNAME}
24
DATADIR=	${PREFIX}/share/rexx${PORTNAME}
25
25
26
post-patch:	.SILENT
27
	@${REINPLACE_CMD} -Ee "/^compiler\.unix/s,'.*','${CC:T}'," \
28
		-e "s,cc\.cc = .*,cc.${CC:T} = '${CC}'," \
29
		-e "/ opt/s/-[Og][^' ]?//" \
30
		-e "s,cflags\. = '(.*)',cflags. = '\1 ${CFLAGS}'," \
31
		${WRKSRC}/rexxwrap.cmd
32
	@${REINPLACE_CMD} 's/-compiler=$$(CC/&:T/' ${WRKSRC}/Makefile.in
33
26
.include <bsd.port.mk>
34
.include <bsd.port.mk>

Return to bug 162913