summaryrefslogtreecommitdiff
path: root/sysutils/gio-fam/hacks.mk
blob: a8b0b2c14c7834d0fb8b4f758958213aa0df7a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: hacks.mk,v 1.1 2012/05/01 18:45:53 adam Exp $

.if !defined(GIOFAM_HACKS_MK)
GIOFAM_HACKS_MK=	# defined

.if ${OPSYS} == "Darwin"
PKG_HACKS+=		darwin-iconv
SUBST_CLASSES+=		iconv
SUBST_STAGE.iconv=	pre-configure
SUBST_MESSAGE.iconv=	Changing libiconv_open to iconv_open.
SUBST_FILES.iconv=	configure
SUBST_SED.iconv=	-e 's,libiconv_open,iconv_open,g'
.endif

.endif