Simplify the previous commit a bit.
This commit is contained in:
@@ -121,8 +121,7 @@ CONFIGURE_ARGS+= --disable-examples
|
||||
.if ${PORT_OPTIONS:MECJ}
|
||||
post-patch:
|
||||
@${SED} -e 's|%%ECJ_JAR%%|${DISTDIR}/${ECJ_JAR}|' \
|
||||
-e 's|%%JAVA_CMD%%|${JAVA_HOME}/bin/java|' < \
|
||||
${FILESDIR}/ecj.sh.in > ${WRKDIR}/ecj
|
||||
-e 's|%%JAVA%%|${JAVA}|' < ${FILESDIR}/ecj.sh.in > ${WRKDIR}/ecj
|
||||
@${CHMOD} 755 ${WRKDIR}/ecj
|
||||
.endif
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
"%%JAVA_CMD%%" -classpath "%%ECJ_JAR%%" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}"
|
||||
"%%JAVA%%" -classpath "%%ECJ_JAR%%" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}"
|
||||
|
||||
Reference in New Issue
Block a user