blob: bd8ff7e9dc245c7ad7fac8d7d8fbf96193b50c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: buildlink3.mk,v 1.23 2010/01/18 09:59:02 wiz Exp $
BUILDLINK_TREE+= imlib2
.if !defined(IMLIB2_BUILDLINK3_MK)
IMLIB2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.1.0nb2
BUILDLINK_ABI_DEPENDS.imlib2+= imlib2>=1.4.2nb4
BUILDLINK_PKGSRCDIR.imlib2?= ../../graphics/imlib2
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
_IMLIB2_PRE_X11_OPTION!= \
if ${PKG_INFO} -qe 'imlib2<=1.4.0'; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
pkgbase := imlib2
.include "../../mk/pkg-build-options.mk"
.if ${_IMLIB2_PRE_X11_OPTION} == "yes" || !empty(PKG_BUILD_OPTIONS.imlib2:Mx11)
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.endif
.endif # IMLIB2_BUILDLINK3_MK
BUILDLINK_TREE+= -imlib2
|