pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ncbi-blast+: Fix perms on installed files
Module Name: pkgsrc-wip
Committed By: Jason W Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Tue Mar 27 12:30:22 2018 -0500
Changeset: 0dcee4e818a55ff8d3af0fd7049ddf9b22a5a951
Modified Files:
ncbi-blast+/distinfo
ncbi-blast+/patches/patch-src_build-system_Makefile.in.top
Log Message:
ncbi-blast+: Fix perms on installed files
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0dcee4e818a55ff8d3af0fd7049ddf9b22a5a951
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ncbi-blast+/distinfo | 2 +-
ncbi-blast+/patches/patch-src_build-system_Makefile.in.top | 13 +++++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
diffs:
diff --git a/ncbi-blast+/distinfo b/ncbi-blast+/distinfo
index 02f06d077b..92229cd1d8 100644
--- a/ncbi-blast+/distinfo
+++ b/ncbi-blast+/distinfo
@@ -6,6 +6,6 @@ SHA512 (ncbi-blast-2.7.1+-src.tar.gz) = e4b3914f51165ae4c82051068ed9d3470687a4e0
Size (ncbi-blast-2.7.1+-src.tar.gz) = 23254824 bytes
SHA1 (patch-compilers_xcode30__prj_configure) = d6bf60c1a12ef1ddd93af1bce87543a1d5156bea
SHA1 (patch-src_algo_blast_core_blast__kappa.c) = 0d0492bbb93d9ac48a9456bb5762c923ae84ffb9
-SHA1 (patch-src_build-system_Makefile.in.top) = 6e263f9eb1ba2a1b00a76ca0201e608531826d7b
+SHA1 (patch-src_build-system_Makefile.in.top) = 71d5246867a8c985c1175c338fb0af664094ca01
SHA1 (patch-src_build-system_cmake_cmake-configure) = e120568c934342c8003f89470d78b28f87ae48c4
SHA1 (patch-src_build-system_configure) = cd2cffb73da34806c189f871799960f78a1a5a4d
diff --git a/ncbi-blast+/patches/patch-src_build-system_Makefile.in.top b/ncbi-blast+/patches/patch-src_build-system_Makefile.in.top
index 54f8202361..cfc7e09738 100644
--- a/ncbi-blast+/patches/patch-src_build-system_Makefile.in.top
+++ b/ncbi-blast+/patches/patch-src_build-system_Makefile.in.top
@@ -1,10 +1,10 @@
$NetBSD$
-# Add destdir support
+# Add destdir suppot and fix perms on installed files
---- src/build-system/Makefile.in.top.orig 2018-03-27 13:10:52.497034627 +0000
+--- src/build-system/Makefile.in.top.orig 2017-02-01 16:52:02.000000000 +0000
+++ src/build-system/Makefile.in.top
-@@ -37,21 +37,21 @@ check: $(PROJECTS)
+@@ -37,22 +37,26 @@ check: $(PROJECTS)
fi
install-toolkit:
@@ -14,7 +14,7 @@ $NetBSD$
- $(INSTALL) -m 644 $(llibdir)/*.* $(libdir)
+ -$(RMDIR) $(DESTDIR)$(pincludedir)
+ $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(pincludedir)
-+ $(INSTALL) $(lbindir)/* $(DESTDIR)$(bindir)
++ $(INSTALL) -m 755 $(lbindir)/* $(DESTDIR)$(bindir)
+ $(INSTALL) -m 644 $(llibdir)/*.* $(DESTDIR)$(libdir)
if test -d $(llibdir)/ncbi; then \
- cp -pPR $(llibdir)/ncbi $(libdir)/; \
@@ -27,10 +27,15 @@ $NetBSD$
for x in *.a; do \
$(LN_S) "$$x" "`$(BASENAME) \"$$x\" .a`-static.a"; \
done
++ find $(DESTDIR)$(libdir) -name '*.a' -exec chmod 644 '{}' \;
++ find $(DESTDIR)$(libdir) -name '*.so*' -exec chmod 755 '{}' \;
for d in $(includedir0) $(incdir); do \
cd $$d && find * -name .svn -prune -o -print | \
- cpio -pd $(pincludedir) ; \
+ cpio -pd $(DESTDIR)$(pincludedir) ; \
done
++ find $(DESTDIR)$(pincludedir) -type f -exec chmod 644 '{}' \;
++ find $(DESTDIR)$(pincludedir) -type d -exec chmod 755 '{}' \;
## set up appropriate build and status directories somewhere under $(libdir)?
+ install-gbench:
Home |
Main Index |
Thread Index |
Old Index