From 354b36fb4cc57c0b083039db414cf9f695b351cd Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Wed, 30 Apr 2003 15:45:09 +0000 Subject: [PATCH] . Address ownership issues during the installation step. PR: 36411 Approved by: maintainer timeout --- java/jce-aba/Makefile | 5 ++++- java/jsdk/Makefile | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/java/jce-aba/Makefile b/java/jce-aba/Makefile index 58676478e1fd..1ef7f325c8f2 100644 --- a/java/jce-aba/Makefile +++ b/java/jce-aba/Makefile @@ -20,9 +20,12 @@ USE_JAVA= 1.1+ NO_BUILD= yes JDKVERSION= 1.1 +CPIO?= /usr/bin/cpio + do-install: ${INSTALL_DATA} ${WRKSRC}/lib-${JDKVERSION}/jce.zip ${PREFIX}/share/java/classes/ ${MKDIR} ${PREFIX}/share/java/jce-aba - (cd ${WRKSRC}/docs-${JDKVERSION}; tar cf - .) | (cd ${PREFIX}/share/java/jce-aba ; tar xvf -) + cd ${WRKSRC}/docs-${JDKVERSION} && ${FIND} . \ + | ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/java/jce-aba .include diff --git a/java/jsdk/Makefile b/java/jsdk/Makefile index 4afb06e24b82..063c55567ebe 100644 --- a/java/jsdk/Makefile +++ b/java/jsdk/Makefile @@ -48,5 +48,6 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/lib/jsdk.jar ${PREFIX}/share/java/classes @cd ${WRKSRC}; \ ${CP} -R [Rde]* ${PREFIX}/share/java/jsdk20 + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/java/jsdk20 .include