pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-gobject-shared Since this only installs heade...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ce56d01fbca
branches:  trunk
changeset: 629638:5ce56d01fbca
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 25 08:53:53 2014 +0000

description:
Since this only installs header files, we do not need any real
py-cairo dependency here. Fake presence for configure script using cairo
flags.
Bump PKGREVISION.

This change allows using this package for both python-2.x and python-3.x.

diffstat:

 devel/py-gobject-shared/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 91d94d2d132e -r 5ce56d01fbca devel/py-gobject-shared/Makefile
--- a/devel/py-gobject-shared/Makefile  Sat Jan 25 08:51:49 2014 +0000
+++ b/devel/py-gobject-shared/Makefile  Sat Jan 25 08:53:53 2014 +0000
@@ -1,12 +1,17 @@
-# $NetBSD: Makefile,v 1.36 2013/09/02 19:50:59 adam Exp $
+# $NetBSD: Makefile,v 1.37 2014/01/25 08:53:53 wiz Exp $
 
 PKGNAME=               py-gobject-shared-2.28.6
-PKGREVISION=           10
+PKGREVISION=           11
 
 .include "../../devel/py-gobject/Makefile.common"
 
 PYTHON_FOR_BUILD_ONLY= yes
 INSTALLATION_DIRS=     include/pygtk-2.0 lib/pkgconfig
+# we do not really need py-cairo's pkg-config flags
+# just some non-empty valid arguments so py-cairo is detected
+# as found
+CONFIGURE_ARGS+=       PYCAIRO_CFLAGS="`pkg-config --cflags cairo`"
+CONFIGURE_ARGS+=       PYCAIRO_LIBS="`pkg-config --libs cairo`"
 
 do-build:
 
@@ -19,11 +24,11 @@
                ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
 
 .include "../../lang/python/application.mk"
-BUILDLINK_DEPMETHOD.pycairo=   build
-.include "../../graphics/py-cairo/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gobject-introspection=   gobject-introspection>=0.9.5
 BUILDLINK_DEPMETHOD.gobject-introspection=     build
 .include "../../devel/gobject-introspection/buildlink3.mk"
+BUILDLINK_DEPMETHOD.cairo=     build
+.include "../../graphics/cairo/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index