summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-11-26 01:33:33 +0000
committerTim Harder <radhermit@gentoo.org>2011-11-26 01:33:33 +0000
commit40db89bfa297800d2a5132a2935a0a735c561581 (patch)
treeb6efa80e26e8847e51f7dcee9ea88690a7f8fde5 /app-forensics
parentRemove old and build in the source tree. (diff)
downloadgentoo-2-40db89bfa297800d2a5132a2935a0a735c561581.tar.gz
gentoo-2-40db89bfa297800d2a5132a2935a0a735c561581.tar.bz2
gentoo-2-40db89bfa297800d2a5132a2935a0a735c561581.zip
Only build the shared python lib (bug #311209, fix by Arfrever).
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/afflib/ChangeLog6
-rw-r--r--app-forensics/afflib/files/afflib-3.6.12-python-module.patch3
2 files changed, 7 insertions, 2 deletions
diff --git a/app-forensics/afflib/ChangeLog b/app-forensics/afflib/ChangeLog
index b068e31667e6..9af48ee933f9 100644
--- a/app-forensics/afflib/ChangeLog
+++ b/app-forensics/afflib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-forensics/afflib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.16 2011/11/26 00:24:57 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.17 2011/11/26 01:33:33 radhermit Exp $
+
+ 26 Nov 2011; Tim Harder <radhermit@gentoo.org>
+ files/afflib-3.6.12-python-module.patch:
+ Only build the shared python lib (bug #311209, fix by Arfrever).
26 Nov 2011; Tim Harder <radhermit@gentoo.org> afflib-3.6.12.ebuild:
Build in the source tree.
diff --git a/app-forensics/afflib/files/afflib-3.6.12-python-module.patch b/app-forensics/afflib/files/afflib-3.6.12-python-module.patch
index 13ecfe0f8503..c5422010f615 100644
--- a/app-forensics/afflib/files/afflib-3.6.12-python-module.patch
+++ b/app-forensics/afflib/files/afflib-3.6.12-python-module.patch
@@ -1,6 +1,6 @@
--- afflib-3.6.12/pyaff/Makefile.am.orig
+++ afflib-3.6.12/pyaff/Makefile.am
-@@ -7,7 +7,7 @@
+@@ -7,7 +7,8 @@
pyexec_LTLIBRARIES = pyaff.la
pyaff_la_SOURCES = pyaff.c
@@ -8,5 +8,6 @@
+pyaff_la_LIBADD = @top_builddir@/lib/libafflib.la
pyaff_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
-pyaff_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
++pyaff_la_CFLAGS = -shared
+pyaff_la_LDFLAGS = -module -avoid-version -shared $(PYTHON_LDFLAGS)
endif