work around compilation failure when py-Gtk is installed, caused by
stupid include path detection. Reported by espie@ Also add VMEM_WARNING, because gcc3 causes compilation to blow up later when building ft2font.cpp
This commit is contained in:
parent
7284b0f29e
commit
4d6f30cfb3
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2004/11/30 01:06:39 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2005/01/17 23:56:43 djm Exp $
|
||||
|
||||
COMMENT= "Python charting and plotting API"
|
||||
|
||||
DISTNAME= matplotlib-0.64
|
||||
PKGNAME= py-${DISTNAME}p0
|
||||
PKGNAME= py-${DISTNAME}p1
|
||||
CATEGORIES= graphics devel
|
||||
|
||||
HOMEPAGE= http://matplotlib.sourceforge.net/
|
||||
@ -48,6 +48,7 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/data/* \
|
||||
${PREFIX}/share/examples/py-matplotlib/data
|
||||
|
||||
VMEM_WARNING= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
graphics/py-matplotlib/patches/patch-src__gtkagg_cpp
Normal file
12
graphics/py-matplotlib/patches/patch-src__gtkagg_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src__gtkagg_cpp,v 1.1 2005/01/17 23:56:43 djm Exp $
|
||||
--- src/_gtkagg.cpp.orig Tue Jan 18 09:56:11 2005
|
||||
+++ src/_gtkagg.cpp Tue Jan 18 09:56:23 2005
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <pygobject.h>
|
||||
-#include <pygtk/pygtk.h>
|
||||
+#include <pygtk-2.0/pygtk/pygtk.h>
|
||||
|
||||
#include "_backend_agg.h"
|
||||
|
Loading…
Reference in New Issue
Block a user