Subject: Quick/lame bl3 question (a good one for bl3 FAQ)
To: None <tech-pkg@netbsd.org>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 02/24/2004 18:21:07
--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline

Hi,

I am trying to create bl3 file for databases/py-ZODB. A package
wip/py-IndexedCatalog needs it. I've used createbuildlink 3.1

During compilation of the package, it needs include files from
${PREFIX}/include/python${PYVERSSUFFIX}/ZODB3

What's wrong with attached bl3 file? It only links file:

	/usr/pkg/lib/python2p3/site-packages/ZConfig/tests/input/library.xml

... no matter, what INCDIRS or LIBDIRS settings I use.

Help?

Regards,
-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net
"There's so much comedy on television. Does that cause comedy in the streets?" 
	-- Dick Cavett

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: attachment; filename="buildlink3.mk"

# $NetBSD$
#
# This Makefile fragment is included by packages that use py-ZODB3.
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
PY_ZODB3_BUILDLINK3_MK:=	${PY_ZODB3_BUILDLINK3_MK}+

.include "../../lang/python/pyversion.mk"

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	${PYPKGPREFIX}-ZODB3
.endif

.if !empty(PY_ZODB3_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+=			${PYPKGPREFIX}-ZODB3
BUILDLINK_DEPENDS.${PYPKGPREFIX}-ZODB3+=		${PYPKGPREFIX}-ZODB3>=3.2
BUILDLINK_PKGSRCDIR.${PYPKGPREFIX}-ZODB3?=		../../databases/py-ZODB

BUILDLINK_INCDIRS.${PYPKGPREFIX}-ZODB3+=	include/python${PYVERSSUFFIX}/ZODB3

.endif # PY_ZODB3_BUILDLINK3_MK

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}

--7JfCtLOvnd9MIVvH--