Index: head/lang/rexx-wrapper/Makefile =================================================================== --- head/lang/rexx-wrapper/Makefile (revision 289200) +++ head/lang/rexx-wrapper/Makefile (revision 289201) @@ -1,26 +1,34 @@ # ex:ts=8 # Ports collection makefile for: rexx-wrapper # Date created: Nov 11, 2003 # Whom: ijliao # # $FreeBSD$ # PORTNAME= wrapper PORTVERSION= 2.4 CATEGORIES= lang MASTER_SITES= SF/rexx${PORTNAME}/rexx${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= rexx- DISTNAME= RexxWrapper-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A tool that wraps Rexx source or tokenised code into an executable BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina 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 Property changes on: head/lang/rexx-wrapper/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property