either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
33 lines
942 B
Makefile
33 lines
942 B
Makefile
# $NetBSD: Makefile,v 1.11 2014/01/25 10:30:19 wiz Exp $
|
|
|
|
PKGNAME= libprelude-python-${VERSION}
|
|
PKGREVISION= 7
|
|
COMMENT= Python bindings to LibPrelude
|
|
|
|
.include "../../security/libprelude/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --with-python
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
PY_PATCHPLIST= yes
|
|
|
|
BUILD_DIRS= bindings/low-level/python bindings/python
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
|
|
PKG_SUPPORTED_OPTIONS= debug
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.9.24.1
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CFLAGS= -O0 -ggdb
|
|
.endif
|
|
|
|
.include "../../devel/libltdl/convenience.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../security/gnutls/libgnutls-config.mk"
|
|
.include "../../security/libprelude/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|