summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-02-10 20:27:03 +0000
committerJustin Lecher <jlec@gentoo.org>2012-02-10 20:27:03 +0000
commit90051d8172483a94d1dd1b9ca43b828f91a09142 (patch)
tree93e1bebd6ec001d0d068fd21e98afaf4b38ee1f4 /sci-libs/clipper
parentInitial ebuild based on ChromiumOS ebuild. (diff)
downloadgentoo-2-90051d8172483a94d1dd1b9ca43b828f91a09142.tar.gz
gentoo-2-90051d8172483a94d1dd1b9ca43b828f91a09142.tar.bz2
gentoo-2-90051d8172483a94d1dd1b9ca43b828f91a09142.zip
Drop -g from FLAGS
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/clipper')
-rw-r--r--sci-libs/clipper/ChangeLog6
-rw-r--r--sci-libs/clipper/clipper-20100511-r1.ebuild18
-rw-r--r--sci-libs/clipper/files/20100511-makefile.patch23
3 files changed, 34 insertions, 13 deletions
diff --git a/sci-libs/clipper/ChangeLog b/sci-libs/clipper/ChangeLog
index 55181bcee4e2..cec3f9adb02a 100644
--- a/sci-libs/clipper/ChangeLog
+++ b/sci-libs/clipper/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/clipper
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.15 2012/02/03 12:27:50 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.16 2012/02/10 20:27:03 jlec Exp $
+
+ 10 Feb 2012; Justin Lecher <jlec@gentoo.org> +files/20100511-makefile.patch,
+ clipper-20100511-r1.ebuild:
+ Drop -g from FLAGS
03 Feb 2012; Justin Lecher <jlec@gentoo.org> clipper-20100511-r1.ebuild:
Moved to autotools-utils.eclass
diff --git a/sci-libs/clipper/clipper-20100511-r1.ebuild b/sci-libs/clipper/clipper-20100511-r1.ebuild
index e89a42fe1663..a3b61849efa3 100644
--- a/sci-libs/clipper/clipper-20100511-r1.ebuild
+++ b/sci-libs/clipper/clipper-20100511-r1.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/clipper/clipper-20100511-r1.ebuild,v 1.2 2012/02/03 12:27:50 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/clipper-20100511-r1.ebuild,v 1.3 2012/02/10 20:27:03 jlec Exp $
EAPI=4
@@ -26,14 +26,10 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}-2.1
-PATCHES=( "${FILESDIR}"/20091215-missing-var.patch )
-
-src_prepare() {
- # ccp4 provides these, and more.
- sed -i -e "s:examples::g" "${S}"/Makefile.am
-
- autotools-utils_src_prepare
-}
+PATCHES=(
+ "${FILESDIR}"/20091215-missing-var.patch
+ "${FILESDIR}"/${PV}-makefile.patch
+ )
src_configure() {
# Recommended on ccp4bb/coot ML to fix crashes when calculating maps
@@ -55,7 +51,5 @@ src_configure() {
}
src_test() {
- emake \
- -C "${AUTOTOOLS_BUILD_DIR}"/examples \
- check
+ emake -C "${AUTOTOOLS_BUILD_DIR}"/examples check
}
diff --git a/sci-libs/clipper/files/20100511-makefile.patch b/sci-libs/clipper/files/20100511-makefile.patch
new file mode 100644
index 000000000000..d933e88f7c7e
--- /dev/null
+++ b/sci-libs/clipper/files/20100511-makefile.patch
@@ -0,0 +1,23 @@
+ Makefile.am | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 745824d..0da0ddd 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,12 +1,12 @@
+ # -*- mode: Makefile; mode: font-lock -*-
+ AUTOMAKE_OPTIONS = foreign
+-SUBDIRS = config clipper examples dox
+-DIST_SUBDIRS = config clipper examples dox
++SUBDIRS = config clipper dox
++DIST_SUBDIRS = config clipper dox
+ EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL NEWS README
+ bin_SCRIPTS = clipper-config
+ # pkgconfigdir = $(libdir)/pkgconfig
+ # pkgconfig_DATA = clipper.pc
+ if DEBUG
+-AM_CXXFLAGS = -g -DDEBUG
++AM_CXXFLAGS = -DDEBUG
+ endif
+ ACLOCAL_AMFLAGS = -I config