16 lines
388 B
Makefile
16 lines
388 B
Makefile
|
# $NetBSD: hacks.mk,v 1.1 2012/08/23 13:34:44 adam Exp $
|
||
|
|
||
|
.if !defined(PKGCONFIG_HACKS_MK)
|
||
|
PKGCONFIG_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= glib/configure
|
||
|
SUBST_SED.iconv= -e 's,libiconv_open,iconv_open,g'
|
||
|
.endif
|
||
|
|
||
|
.endif
|