From 94e344ad3efe9e3cfcbd7437f3ea3f96feef0d58 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 11 Oct 2005 10:42:05 +0000 Subject: [PATCH] Dump perl(1) for ${REINPLACE_CMD}. --- lang/kawa/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/kawa/Makefile b/lang/kawa/Makefile index 28fbb27dffc0..42f38e96ca94 100644 --- a/lang/kawa/Makefile +++ b/lang/kawa/Makefile @@ -16,20 +16,20 @@ COMMENT= Java-based Scheme implementation BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed -USE_JAVA= 1.2+ -USE_PERL5_BUILD= yes NEED_JAVAC= yes -CONFIGURE_ARGS= --enable-kawa-frontend --program-prefix='' +USE_JAVA= 1.2+ +USE_REINPLACE= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-kawa-frontend --program-prefix='' MAN1= kawa.1 INFO= kawa kawa-tour pre-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi \ - -e 's|sed |gsed |g;' \ - -e 's|JAR = jar|JAR = ${JAR}|g;' - ${PERL} -pi -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \ - -e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ + -e 's|sed |gsed |g;' \ + -e 's|JAR = jar|JAR = ${JAR}|g;' + @${REINPLACE_CMD} -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \ + -e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure .include