diff options
author | perky <perky@FreeBSD.org> | 2004-10-15 23:05:24 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-10-15 23:05:24 +0800 |
commit | 372b68ca58d3df3c9d6090b87bdb92a7335cf70c (patch) | |
tree | 3d47b3ed68629221fe1a51ca58ac0b40aa239b4d /databases/py-bsddb3 | |
parent | 57753f2c23eb1072e3e1458867b401b82b68bf63 (diff) | |
download | freebsd-ports-graphics-372b68ca58d3df3c9d6090b87bdb92a7335cf70c.tar.gz freebsd-ports-graphics-372b68ca58d3df3c9d6090b87bdb92a7335cf70c.tar.zst freebsd-ports-graphics-372b68ca58d3df3c9d6090b87bdb92a7335cf70c.zip |
Fix build
PR: 72133
Submitted by: ume
Reviewed by: thierry
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r-- | databases/py-bsddb3/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index a81cff7eb34..91e6f797423 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -15,8 +15,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= perky@FreeBSD.org COMMENT= Python extension module for BerkeleyDB 3 and 4 -BROKEN= Does not build - .if defined(WITH_DB3) WITH_BDB_VER?= 3 .elif defined(WITH_DB4) @@ -43,18 +41,19 @@ LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42 DBVERSION= db-4.2 DBHEADER= db42 .else -BROKEN= "WITH_BDB_VER must be 3, 4, 41 or 42" +IGNORE= "WITH_BDB_VER must be 3, 4, 41 or 42" .endif .endif USE_PYTHON= yes USE_PYDISTUTILS= yes USE_REINPLACE= yes +PYDISTUTILS_CONFIGUREARGS=--libs="-l${DBVERSION}" --berkeley-db=${LOCALBASE} PYDISTUTILS_BUILDARGS= --libs="-l${DBVERSION}" --berkeley-db=${LOCALBASE} PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE} post-patch: ${REINPLACE_CMD} 's,%%DBVERSION%%,${DBVERSION},g' ${WRKSRC}/setup.py - ${REINPLACE_CMD} 's,<db\.h>,<${DBVERSION}/db.h>,' ${WRKSRC}/extsrc/_bsddb.c + ${REINPLACE_CMD} 's,<db\.h>,<${DBHEADER}/db.h>,' ${WRKSRC}/extsrc/_bsddb.c .include <bsd.port.mk> |