diff options
author | trevor <trevor@FreeBSD.org> | 2003-11-13 22:45:08 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-11-13 22:45:08 +0800 |
commit | 98d7950e05980253d33259a6aafcd5e3b6547fdb (patch) | |
tree | 1cbd7ce2d9411420b33e9f045481bd24f68ef920 /java | |
parent | a959d36850b787f6723176962c2985587b2936cb (diff) | |
download | freebsd-ports-graphics-98d7950e05980253d33259a6aafcd5e3b6547fdb.tar.gz freebsd-ports-graphics-98d7950e05980253d33259a6aafcd5e3b6547fdb.tar.zst freebsd-ports-graphics-98d7950e05980253d33259a6aafcd5e3b6547fdb.zip |
Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk12/Makefile | 5 | ||||
-rw-r--r-- | java/linux-blackdown-jdk12/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk12/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk13/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 2 | ||||
-rw-r--r-- | java/sablevm/Makefile | 4 |
6 files changed, 9 insertions, 8 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile index 9bda99e92da..168fe82f5c2 100644 --- a/java/jdk12/Makefile +++ b/java/jdk12/Makefile @@ -146,8 +146,9 @@ post-build: done; \ done for dir in ${JDKIMAGEDIR} ${JREIMAGEDIR}; do \ - find $${dir} -type f | xargs file | ${GREP} 'not stripped$$' | \ - ${SED} 's|:.*$$||' | xargs strip; \ + ${FIND} $${dir} -type f | ${XARGS} file | \ + ${GREP} 'not stripped$$' | \ + ${SED} 's|:.*$$||' | ${XARGS} strip; \ done .if !defined(NODEBUG) diff --git a/java/linux-blackdown-jdk12/Makefile b/java/linux-blackdown-jdk12/Makefile index 6f15c83af34..5abcc0393cb 100644 --- a/java/linux-blackdown-jdk12/Makefile +++ b/java/linux-blackdown-jdk12/Makefile @@ -37,7 +37,7 @@ CPIO?= /usr/bin/cpio post-patch: ${FIND} ${WRKSRC} \( -name '*.orig' -o -name '.*.orig' \) -print \ - | xargs ${RM} -f + | ${XARGS} ${RM} -f do-install: ${MKDIR} ${APP_HOME} diff --git a/java/linux-sun-jdk12/Makefile b/java/linux-sun-jdk12/Makefile index 634c198be57..9ece974bfbb 100644 --- a/java/linux-sun-jdk12/Makefile +++ b/java/linux-sun-jdk12/Makefile @@ -41,7 +41,7 @@ IGNORE=You must manually fetch the Sun Java 2 Standard Edition SDK ${JDK_VERSION .endif post-patch: - @${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f + @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f do-install: @${ECHO_CMD} -n ">> Creating destination directory ${APP_HOME}..." diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile index 8f659b67cf6..a3a62215853 100644 --- a/java/linux-sun-jdk13/Makefile +++ b/java/linux-sun-jdk13/Makefile @@ -67,7 +67,7 @@ do-extract: && ${WRKDIR}/install.sfx > /dev/null post-patch: - @${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f + @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f do-install: ${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile index 4c710f7c18a..117ad82d5d8 100644 --- a/java/linux-sun-jdk14/Makefile +++ b/java/linux-sun-jdk14/Makefile @@ -59,7 +59,7 @@ do-extract: && ${WRKDIR}/install.sfx > /dev/null post-patch: - @${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f + @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f do-install: ${MKDIR} ${APP_HOME} diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile index 1d40c7fc2a6..7a2d22fa511 100644 --- a/java/sablevm/Makefile +++ b/java/sablevm/Makefile @@ -86,11 +86,11 @@ pre-build: @echo "===> ${CLASSESDIR}" @cd ${WRKDIR}/${CLASSESDIR}; \ ${MKDIR} classes; \ - find . | ${GREP} '\.java$$' | xargs jikes -g \ + ${FIND} . | ${GREP} '\.java$$' | ${XARGS} jikes -g \ -target 1.1 -d classes \ -bootclasspath src:classes -classpath src:classes \ -sourcepath src || exit 1; \ - find resource -type f | cut -d\/ -f2- \ + ${FIND} resource -type f | cut -d\/ -f2- \ | ${AWK} '{print "cp resource/" $$0 " classes/" $$0 }' \ | ${SH}; \ ${CHMOD} -R a+rX classes |