2020-10-26 18:19:29 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.6 2020/10/26 17:19:29 nia Exp $
|
2018-11-01 10:36:47 +01:00
|
|
|
|
|
|
|
BUILDLINK_TREE+= enchant2
|
|
|
|
|
|
|
|
.if !defined(ENCHANT2_BUILDLINK3_MK)
|
|
|
|
ENCHANT2_BUILDLINK3_MK:=
|
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.enchant2+= enchant2>=2
|
2020-03-08 17:47:24 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.enchant2+= enchant2>=2.2.8nb1
|
2019-11-04 22:43:32 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.enchant2?= ../../textproc/enchant2
|
2018-11-01 10:36:47 +01:00
|
|
|
|
2020-10-26 18:19:29 +01:00
|
|
|
GCC_REQD+= 4.8
|
|
|
|
|
2018-11-18 14:08:19 +01:00
|
|
|
# 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
|
|
|
|
|
2019-10-10 13:44:38 +02:00
|
|
|
.PHONY: buildlink-enchant2-cookie
|
2018-11-18 14:08:19 +01:00
|
|
|
buildlink-enchant2-cookie: ${BUILDLINK_DIR}/lib/pkgconfig/enchant.pc
|
|
|
|
|
2018-11-01 10:36:47 +01:00
|
|
|
# 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
|