pkgsrc-WIP-changes archive

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

wip/py-scipy: permissions of original archived files are all "-rwxrwxrwx", and it causes errors under the condition of PKG_DEVELOPER=YES. Added "EXTRACT_OPTS_TAR+= --no-same-permissions" to Makefile.



Module Name:	pkgsrc-wip
Committed By:	Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By:	daisuke
Date:		Fri Jan 8 22:40:01 2021 +0800
Changeset:	23088bce91ded63037e6113f75902caf0ace48e9

Modified Files:
	py-scipy/Makefile

Log Message:
wip/py-scipy: permissions of original archived files are all "-rwxrwxrwx", and it causes errors under the condition of PKG_DEVELOPER=YES. Added "EXTRACT_OPTS_TAR+=      --no-same-permissions" to Makefile.

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

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

diffstat:
 py-scipy/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/py-scipy/Makefile b/py-scipy/Makefile
index 630c038e21..31fedfaf06 100644
--- a/py-scipy/Makefile
+++ b/py-scipy/Makefile
@@ -14,8 +14,8 @@ DEPENDS+=	${PYPKGPREFIX}-pybind11-[0-9]*:../../devel/py-pybind11
 TEST_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-post-extract:
-	${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
+# for changing permission of extracted files from -rwxrwxrwx to -rwxr-xr-x
+EXTRACT_OPTS_TAR+=	--no-same-permissions
 
 USE_LANGUAGES+=	c c++ fortran
 MAKE_ENV+=	ATLAS=None


Home | Main Index | Thread Index | Old Index