aboutsummaryrefslogtreecommitdiffstats
path: root/community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-06-27 17:40:43 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-06-27 17:40:43 +0200
commit6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e (patch)
treec88e13a596a1eefaa3a71e54a7541a485cc3fbad /community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
parenteb6df431e0b2a41e3df419e4bd72948a03d0b6d3 (diff)
downloadaports-6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e.tar.bz2
aports-6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e.tar.xz
community/radare2: move from testing
Diffstat (limited to 'community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch')
-rw-r--r--community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch b/community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
new file mode 100644
index 0000000000..06f77b25ca
--- /dev/null
+++ b/community/radare2/0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
@@ -0,0 +1,30 @@
+From 7a3234c2c895316311b2abb5b3c462ed2589d93e Mon Sep 17 00:00:00 2001
+From: Levente Polyak <levente@leventepolyak.net>
+Date: Wed, 30 May 2018 16:57:45 +0200
+Subject: [PATCH 3/4] make: don't dist .${LIBVERSION} into /usr/lib (#10164)
+
+Not exlucidng ^libr.{so,dynlin}$ doesn't do any good and will purely
+result in distributing a .${LIBVERSION} into $DESTDIR
+f.e. /usr/lib/.2.6.0
+
+Introduced by: 8bab02
+---
+ libr/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libr/Makefile b/libr/Makefile
+index 0d0257708..7e75a3a1e 100644
+--- a/libr/Makefile
++++ b/libr/Makefile
+@@ -171,7 +171,7 @@ install: install-includes install-pkgconfig
+ # TODO :Use INSTALL_DATA_DIR instead of mkdir
+ # libraries
+ @${INSTALL_DIR} "${DESTDIR}${LIBDIR}"
+- @$(foreach lib,$(shell find * -type f -iname "*.${EXT_SO}" | grep -v '(lib|parse)/t/' | grep lib | grep -v /bin/ | grep -v /p/), \
++ @$(foreach lib,$(shell find * -type f -iname "*.${EXT_SO}" | grep -vE '^libr\.${EXT_SO}$$' | grep -v '(lib|parse)/t/' | grep lib | grep -v /bin/ | grep -v /p/), \
+ echo " ${DESTDIR}${LIBDIR}/$(call libpath-to-name-version,$(lib),${LIBVERSION})"; \
+ rm -f "${DESTDIR}${LIBDIR}/$(call libpath-to-name-version,$(lib),${LIBVERSION})"; \
+ ${INSTALL_LIB} "$(lib)" "${DESTDIR}${LIBDIR}/$(call libpath-to-name-version,$(lib),${LIBVERSION})"; \
+--
+2.17.1
+