25a80fb4ab
on some platforms that lacked shared library support in the past. The list hasn't been maintained at all and the gain is very limited, so just get rid of it.
35 lines
854 B
Makefile
35 lines
854 B
Makefile
# $NetBSD: Makefile,v 1.26 2009/03/05 18:51:28 joerg Exp $
|
|
#
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-gdbm-0
|
|
PKGREVISION= 2
|
|
CATEGORIES= databases python
|
|
|
|
MAINTAINER= dolecek@ics.muni.cz
|
|
HOMEPAGE= http://www.python.org/doc/lib/module-gdbm.html
|
|
COMMENT= Python interface to gdbm - GNU database manager
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
EVAL_PREFIX+= GDBMDIR=gdbm
|
|
|
|
USE_TOOLS+= patch
|
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/gdbmmodule.c
|
|
PYDISTUTILSPKG= yes
|
|
PY_PATCHPLIST= yes
|
|
|
|
PY_SETUP_SUBST+= GDBMPREFIX=${GDBMDIR}
|
|
|
|
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
|
|
do-patch:
|
|
set -e; \
|
|
cd ${WRKSRC}; \
|
|
for f in ${PATCHDIR}/patch-*; do \
|
|
${PATCH} --batch < "$$f" || ${TRUE}; \
|
|
done
|
|
|
|
.include "../../databases/gdbm/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/srcdist.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|