pkgsrc-wip/kdebindings4-python/Makefile
Mark Davies eed0a33b9c Doesn't work with python2.4. Noted by Matthias Drochner and David H.
Gutteridge
  "It seems this is due to an interaction with QT, according to this bug
   report filed with the Python developers:
   http://bugs.python.org/issue1086854
   (In summary, this is because of name collision between QT and the
   Python header file in question: QT's moc preprocessor reserves extra
   words beyond what standard C++ specifies, including "slots", which
   appears as a variable name in Python's object.h.  This was accounted
   for in Python 2.5.)"
2009-02-11 22:55:20 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2009/02/11 22:55:20 mwdavies Exp $
PKGNAME= kdebindings4-python-${_KDE_VERSION}
DISTNAME= kdebindings-${_KDE_VERSION}
CATEGORIES= misc
COMMENT= Python bindings for the KDE integrated X11 desktop
.include "../../wip/kde4/Makefile.kde4"
PKG_DESTDIR_SUPPORT= user-destdir
# BUILD_MAKE_FLAGS+= VERBOSE=1
CMAKE_ARGS+= -DENABLE_SMOKE=off
CMAKE_ARGS+= -DENABLE_QYOTO=off
CMAKE_ARGS+= -DENABLE_QTRUBY=off -DENABLE_KORUNDUM=off
CMAKE_ARGS+= -DENABLE_KROSSRUBY=off
CMAKE_ARGS+= -DENABLE_KROSSJAVA=off -DENABLE_KROSSFALCON=off
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
PYTHON_VERSIONS_ACCEPTED= 25
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
.include "../../wip/kde4/kde4.mk"
.include "../../lang/python/extension.mk"
.include "../../wip/kdelibs4/buildlink3.mk"
.include "../../wip/kdepimlibs4/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.7.9
.include "../../x11/py-sip/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"