From cc043e612cedcfe8e425f5631799e4fda732ef14 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Mon, 17 Sep 2012 22:03:38 +0000 Subject: Avoid installing a development executable on a non-standard directory (Portage version: 2.2.01.21003-prefix/cvs/Linux x86_64) --- sci-libs/colpack/ChangeLog | 6 +++++- sci-libs/colpack/colpack-1.0.8.ebuild | 7 +++++-- sci-libs/colpack/files/colpack-1.0.8-no-bin.patch | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 sci-libs/colpack/files/colpack-1.0.8-no-bin.patch (limited to 'sci-libs/colpack') diff --git a/sci-libs/colpack/ChangeLog b/sci-libs/colpack/ChangeLog index d01409bd925a..887fe2e603cd 100644 --- a/sci-libs/colpack/ChangeLog +++ b/sci-libs/colpack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/colpack # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/ChangeLog,v 1.3 2012/09/06 17:08:46 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/ChangeLog,v 1.4 2012/09/17 22:03:38 bicatali Exp $ + + 17 Sep 2012; Sébastien Fabbro + +files/colpack-1.0.8-no-bin.patch, colpack-1.0.8.ebuild: + Avoid installing a development executable on a non-standard directory *colpack-1.0.8 (06 Sep 2012) diff --git a/sci-libs/colpack/colpack-1.0.8.ebuild b/sci-libs/colpack/colpack-1.0.8.ebuild index 8f44a0ffd5d6..c210e2ffd049 100644 --- a/sci-libs/colpack/colpack-1.0.8.ebuild +++ b/sci-libs/colpack/colpack-1.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/colpack-1.0.8.ebuild,v 1.2 2012/09/07 18:16:38 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/colpack-1.0.8.ebuild,v 1.3 2012/09/17 22:03:38 bicatali Exp $ EAPI=4 @@ -25,7 +25,10 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${MYPN}-${PV}" -PATCHES=( "${FILESDIR}"/${PN}-1.0.6-flags.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-1.0.6-flags.patch + "${FILESDIR}"/${PN}-1.0.8-no-bin.patch +) pkg_setup() { if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then diff --git a/sci-libs/colpack/files/colpack-1.0.8-no-bin.patch b/sci-libs/colpack/files/colpack-1.0.8-no-bin.patch new file mode 100644 index 000000000000..f2400d66dd07 --- /dev/null +++ b/sci-libs/colpack/files/colpack-1.0.8-no-bin.patch @@ -0,0 +1,15 @@ +From: Sebastien Fabbro +Avoid installing the ColPack binary on an absolute path + +--- Makefile.am 2012-03-20 21:37:34.000000000 -0700 ++++ Makefile.am 2012-09-17 14:24:02.168309078 -0700 +@@ -17,8 +17,7 @@ + LDADD = libColPack.la + AM_DEFAULT_SOURCE_EXT = .cpp + +-noinst_bin_PROGRAMS = ColPack +-noinst_bindir = $(abs_top_builddir)/progs ++noinst_PROGRAMS = ColPack + lib_LTLIBRARIES = libColPack.la + pkginclude_HEADERS = \ + Utilities/CoutLock.h Utilities/command_line_parameter_processor.h \ -- cgit v1.2.3-65-gdbad