summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-09-17 22:03:38 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-09-17 22:03:38 +0000
commitcc043e612cedcfe8e425f5631799e4fda732ef14 (patch)
tree526fea5428d9354c43383a2531df4773e299a09e /sci-libs/colpack
parentStable for x86, wrt bug #429026 (diff)
downloadgentoo-2-cc043e612cedcfe8e425f5631799e4fda732ef14.tar.gz
gentoo-2-cc043e612cedcfe8e425f5631799e4fda732ef14.tar.bz2
gentoo-2-cc043e612cedcfe8e425f5631799e4fda732ef14.zip
Avoid installing a development executable on a non-standard directory
(Portage version: 2.2.01.21003-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/colpack')
-rw-r--r--sci-libs/colpack/ChangeLog6
-rw-r--r--sci-libs/colpack/colpack-1.0.8.ebuild7
-rw-r--r--sci-libs/colpack/files/colpack-1.0.8-no-bin.patch15
3 files changed, 25 insertions, 3 deletions
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 <bicatali@gentoo.org>
+ +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 <bicatali@gentoo.org>
+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 \