pkgsrc/devel/libslang2/buildlink3.mk
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

30 lines
945 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2010/06/13 22:44:08 wiz Exp $
BUILDLINK_TREE+= libslang2
.if !defined(LIBSLANG2_BUILDLINK3_MK)
LIBSLANG2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libslang2+= libslang2>=2.1.3
BUILDLINK_ABI_DEPENDS.libslang2?= libslang2>=2.2.2
BUILDLINK_PKGSRCDIR.libslang2?= ../../devel/libslang2
BUILDLINK_FNAME_TRANSFORM.libslang2+= -e 's|include/slang2/|include/|g'
BUILDLINK_TRANSFORM+= l:slang:slang2
pkgbase:= libslang2
. include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpng)
. include "../../graphics/png/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpcre)
. include "../../devel/pcre/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Moniguruma)
. include "../../textproc/oniguruma/buildlink3.mk"
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.endif # LIBSLANG2_BUILDLINK3_MK
BUILDLINK_TREE+= -libslang2