| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.5 2014/07/12 12:22:22 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.6 2014/07/12 12:24:29 obache Exp $ |
2 | | | 2 | |
3 | .include "../../inputmethod/ibus/Makefile.common" | | 3 | .include "../../inputmethod/ibus/Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/ibus/ibus-python/} | | 5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/ibus/ibus-python/} |
6 | | | 6 | |
7 | COMMENT= Python library for Intelligent Input Bus | | 7 | COMMENT= Python library for Intelligent Input Bus |
8 | LICENSE= gnu-lgpl-v2.1 | | 8 | LICENSE= gnu-lgpl-v2.1 |
9 | | | 9 | |
10 | GNU_CONFIGURE= yes | | 10 | GNU_CONFIGURE= yes |
11 | USE_LIBTOOL= yes | | 11 | USE_LIBTOOL= yes |
12 | USE_TOOLS+= pkg-config intltool msgfmt gmake | | 12 | USE_TOOLS+= pkg-config intltool msgfmt gmake |
13 | USE_LANGUAGES= c c++ | | 13 | USE_LANGUAGES= c c++ |
14 | USE_PKGLOCALEDIR= yes | | 14 | USE_PKGLOCALEDIR= yes |
| @@ -29,22 +29,22 @@ CONFIGURE_ARGS+= --disable-surround-text | | | @@ -29,22 +29,22 @@ CONFIGURE_ARGS+= --disable-surround-text |
29 | .include "../../mk/compiler.mk" | | 29 | .include "../../mk/compiler.mk" |
30 | .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*) | | 30 | .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*) |
31 | BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable | | 31 | BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | NO_BUILD= yes | | 34 | NO_BUILD= yes |
35 | INSTALL_DIRS= bindings ibus | | 35 | INSTALL_DIRS= bindings ibus |
36 | | | 36 | |
37 | CONFIGURE_ARGS+= --disable-dconf | | 37 | CONFIGURE_ARGS+= --disable-dconf |
38 | CONFIGURE_ARGS+= --disable-gconf | | 38 | CONFIGURE_ARGS+= --disable-gconf |
39 | CONFIGURE_ARGS+= --enable-python-library | | 39 | CONFIGURE_ARGS+= --enable-python-library |
40 | CONFIGURE_ENV+= PYTHON2=${PYTHONBIN} | | 40 | CONFIGURE_ENV+= PYTHON2=${PYTHONBIN} |
41 | | | 41 | |
42 | PYTHON_VERSIONS_INCOMPATIBLE= 26 33 34 # py-gtk2 | | 42 | PYTHON_VERSIONS_INCOMPATIBLE= 26 33 34 # py-gtk2, py-gobject3 |
43 | | | 43 | |
44 | .include "../../devel/py-gobject3/buildlink3.mk" | | 44 | .include "../../devel/py-gobject3/buildlink3.mk" |
45 | PY_PATCHPLIST= yes | | 45 | PY_PATCHPLIST= yes |
46 | .include "../../lang/python/extension.mk" | | 46 | .include "../../lang/python/extension.mk" |
47 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0 | | 47 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0 |
48 | .include "../../sysutils/py-dbus/buildlink3.mk" | | 48 | .include "../../sysutils/py-dbus/buildlink3.mk" |
49 | .include "../../textproc/iso-codes/buildlink3.mk" | | 49 | .include "../../textproc/iso-codes/buildlink3.mk" |
50 | .include "../../mk/bsd.pkg.mk" | | 50 | .include "../../mk/bsd.pkg.mk" |