pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sra-tools: Hack to remove Java-generated files post-install



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Aug 13 17:13:47 2023 -0500
Changeset:	2fdaa2440eac13680ad1e3e04d88286adbd9e5e2

Modified Files:
	sra-tools/Makefile

Log Message:
sra-tools: Hack to remove Java-generated files post-install

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2fdaa2440eac13680ad1e3e04d88286adbd9e5e2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sra-tools/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/sra-tools/Makefile b/sra-tools/Makefile
index f8e6ba6210..142b41bcf1 100644
--- a/sra-tools/Makefile
+++ b/sra-tools/Makefile
@@ -85,6 +85,10 @@ post-install:
 	${MV} ${DESTDIR}${PREFIX}/share/examples-sratools/* ${DESTDIR}${EXAMPLESDIR}
 	${RMDIR} ${DESTDIR}${PREFIX}/share/examples-sratools
 	${MV} ${DESTDIR}${PREFIX}/share/examples-python ${DESTDIR}${EXAMPLESDIR}/python
+	# FIXME: Build is detecting Java somehow
+	${RM} -rf ${DESTDIR}${PREFIX}/jar
+	${RM} -rf ${DESTDIR}${PREFIX}/share/examples-java
+	${RM} -rf ${DESTDIR}${PREFIX}/share/javadoc
 
 # Shouldn't epoll bl3 check this?
 .if ${OPSYS} != Linux


Home | Main Index | Thread Index | Old Index