blob: 36686406af49da6904338e5ea62a887aa5d5861e (
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
|
# $NetBSD: buildlink3.mk,v 1.4 2019/11/04 21:43:35 rillig Exp $
BUILDLINK_TREE+= enchant2
.if !defined(ENCHANT2_BUILDLINK3_MK)
ENCHANT2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.enchant2+= enchant2>=2
BUILDLINK_ABI_DEPENDS.enchant2+= enchant2>=2.2.3
BUILDLINK_PKGSRCDIR.enchant2?= ../../textproc/enchant2
# Lots of older software looks for enchant.pc instead of enchant-2.pc.
${BUILDLINK_DIR}/lib/pkgconfig/enchant.pc:
${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig
cd ${BUILDLINK_DIR}/lib/pkgconfig && ${LN} -sf enchant-2.pc enchant.pc
.PHONY: buildlink-enchant2-cookie
buildlink-enchant2-cookie: ${BUILDLINK_DIR}/lib/pkgconfig/enchant.pc
# spelling libraries are loaded dynamically and do not need
# to be included here
.include "../../devel/glib2/buildlink3.mk"
.endif # ENCHANT2_BUILDLINK3_MK
BUILDLINK_TREE+= -enchant2
|