pkgsrc/devel/talloc/Makefile
wiz 3a83354356 Update talloc to 2.1.4.
Changes not found.
2015-10-21 08:37:24 +00:00

50 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2015/10/21 08:37:24 wiz Exp $
DISTNAME= talloc-2.1.4
CATEGORIES= devel
MASTER_SITES= http://www.samba.org/ftp/talloc/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://talloc.samba.org/
COMMENT= Hierarchical pool based memory allocator with destructors
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
HAS_CONFIGURE= yes # wrapper script around WAF
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= talloc.pc.in
PKGCONFIG_OVERRIDE+= pytalloc-util.pc.in
PY_PATCHPLIST= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.1.0
# include/talloc.h
CONFLICTS+= samba-[0-9]*
REPLACE_PYTHON+= buildtools/bin/waf
REPLACE_PYTHON+= buildtools/wafsamba/__init__.py
REPLACE_PYTHON+= buildtools/wafsamba/samba_python.py
REPLACE_PYTHON+= buildtools/wafsamba/symbols.py
REPLACE_PYTHON+= buildtools/wafsamba/wscript
REPLACE_PYTHON+= lib/replace/system/wscript_configure
REPLACE_PYTHON+= lib/replace/wscript
REPLACE_PYTHON+= wscript
.include "../../mk/bsd.prefs.mk"
# Fix incorrect install_name of talloc library on Darwin. Don't bother
# fixing similar problem in pytalloc-util nor the Python talloc.so
# since those reference other build-time paths in addition to having an
# incorrect install_name; they will remain broken.
# Upstream bug report: https://bugzilla.samba.org/show_bug.cgi?id=10791
post-install:
.if ${OPSYS} == "Darwin"
install_name_tool -id \
${PREFIX}/lib/libtalloc.${PKGVERSION_NOREV}.dylib \
${DESTDIR}${PREFIX}/lib/libtalloc.${PKGVERSION_NOREV}.dylib
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"