pkgsrc/chat/libyahoo/buildlink2.mk
jlam ee12419f1f Instead of using BUILDLINK_TRANSFORM.<pkg> to change the location of
headers in ${BUILDLINK_DIR}, simply create BUILDLINK_CPPFLAGS.<pkg>
variables whose values are appended to CPPFLAGS, which are automatically
passed to the configure and build processes.

BUILDLINK_TRANSFORM.<pkg> has little use in buildlink2 since packages are
now told that the software may be found where it really is installed, not
in ${BUILDLINK_DIR} as was the case with buildlink1.  Eventually, these
variables will be declared unsupported by buildlink2.
2002-09-23 09:22:14 +00:00

22 lines
686 B
Makefile

# $NetBSD: buildlink2.mk,v 1.5 2002/09/23 09:22:14 jlam Exp $
.if !defined(LIBYAHOO_BUILDLINK2_MK)
LIBYAHOO_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= libyahoo
BUILDLINK_DEPENDS.libyahoo?= libyahoo>=0.18.4
BUILDLINK_PKGSRCDIR.libyahoo?= ../../chat/libyahoo
EVAL_PREFIX+= BUILDLINK_PREFIX.libyahoo=libyahoo
BUILDLINK_PREFIX.libyahoo_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.libyahoo= include/libyahoo/*.h
BUILDLINK_FILES.libyahoo+= lib/libyahoo.*
BUILDLINK_CPPFLAGS.libyahoo= -I${BUILDLINK_PREFIX.libyahoo}/include/libyahoo
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.libyahoo}
BUILDLINK_TARGETS+= libyahoo-buildlink
libyahoo-buildlink: _BUILDLINK_USE
.endif # LIBYAHOO_BUILDLINK2_MK