pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-gtk2 Handle PKG_OPTIONS.py-gtk2=-py-numpy prope...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/937639b1313f
branches:  trunk
changeset: 621448:937639b1313f
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Tue Jul 09 14:13:30 2013 +0000

description:
Handle PKG_OPTIONS.py-gtk2=-py-numpy properly in buildlink3.mk.  PR/48024

diffstat:

 x11/py-gtk2/buildlink3.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 8506dfae509a -r 937639b1313f x11/py-gtk2/buildlink3.mk
--- a/x11/py-gtk2/buildlink3.mk Tue Jul 09 11:20:53 2013 +0000
+++ b/x11/py-gtk2/buildlink3.mk Tue Jul 09 14:13:30 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.46 2013/06/06 12:53:56 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.47 2013/07/09 14:13:30 tsutsui Exp $
 
 BUILDLINK_TREE+=       pygtk2
 
@@ -11,12 +11,12 @@
 BUILDLINK_ABI_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.24.0nb13
 BUILDLINK_PKGSRCDIR.pygtk2?=   ../../x11/py-gtk2
 
+pkgbase := pygtk2
+.include "../../mk/pkg-build-options.mk"
+
 .include "../../devel/py-gobject/buildlink3.mk"
 .include "../../devel/libglade/buildlink3.mk"
-.if (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
-       !empty(MACHINE_ARCH:Mia64) || !empty(MACHINE_ARCH:Mpowerpc*) || \
-       !empty(MACHINE_ARCH:Mhppa) || !empty(MACHINE_ARCH:Msparc*) || \
-       !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mmips*))
+.if !empty(PKG_BUILD_OPTIONS:Mpy-numpy)
 .include "../../math/py-numpy/buildlink3.mk"
 .endif
 .include "../../x11/gtk2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index