summaryrefslogtreecommitdiff
path: root/java/jdk11/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-09-01 02:46:00 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-09-01 02:46:00 +0000
commit764d167d8d6ed1ed7c92a9ee3399505633ba117f (patch)
tree93c23cd85c0ce8b7cf8b3a30f5bad2032472f820 /java/jdk11/Makefile
parent. Assume (un)registervm is in LOCALBASE _not_ PREFIX. (diff)
. Clean up all the .orig files from patching and do it in post-patch rather
than do-install. This fixes the packing list.
Notes
Notes: svn path=/head/; revision=117780
Diffstat (limited to 'java/jdk11/Makefile')
-rw-r--r--java/jdk11/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index 80ca11497761..10822eeb7943 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -35,8 +35,10 @@ LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
+post-patch:
+ ${FIND} ${WRKSRC} -name '*.orig' -delete
+
do-install:
- @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
cd ${WRKSRC} && ${FIND} . \
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}