pkgsrc-WIP-changes archive

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

minio-client: make clean didn't work



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Tue Aug 18 19:48:18 2020 +0200
Changeset:	99e5372e6a1e28d5c9b626b3342dfdf67e70bdd5

Modified Files:
	minio-client/Makefile

Log Message:
minio-client: make clean didn't work

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

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

diffstat:
 minio-client/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/minio-client/Makefile b/minio-client/Makefile
index 96e8f4f6a7..c1c2e9c170 100644
--- a/minio-client/Makefile
+++ b/minio-client/Makefile
@@ -725,5 +725,8 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/mc	\
 	  ${DESTDIR}${PREFIX}/bin/minio-client
 
+pre-clean:
+	${RUN} test -d ${WRKDIR} && cd ${WRKDIR} && chmod -R +w . || true
+
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index