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

Collapse All | Expand All

(-)lang/rexx-wrapper/Makefile (-1 / +10 lines)
Lines 3-9 Link Here
3
# Date created:			Nov 11, 2003
3
# Date created:			Nov 11, 2003
4
# Whom:	      			ijliao
4
# Whom:	      			ijliao
5
#
5
#
6
# $FreeBSD: ports/lang/rexx-wrapper/Makefile,v 1.6 2011/11/29 18:36:34 dim Exp $
6
# $FreeBSD: ports/lang/rexx-wrapper/Makefile,v 1.4 2009/08/22 00:24:34 amdmi3 Exp $
7
#
7
#
8
8
9
PORTNAME=	wrapper
9
PORTNAME=	wrapper
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 "/cc\.cc = .*/{p;s,,cc.${CC:T} = '${CC}',;}" \
29
		-e "/ opt/s/-[Og][^' ]?//" \
30
		-e "s,cflags\. = '(.*)',cflags. = '\1 ${CFLAGS}'," \
31
		${WRKSRC}/rexxwrap.cmd
32
	${REINPLACE_CMD} '/^CC_LIST=/s,",&${CC:T} ,' ${WRKSRC}/configur
33
	${REINPLACE_CMD} 's/-compiler=$$(CC/&:T/' ${WRKSRC}/Makefile.in
34
26
.include <bsd.port.mk>
35
.include <bsd.port.mk>

Return to bug 162913