diff options
Diffstat (limited to 'devel/pkg-config/hacks.mk')
-rw-r--r-- | devel/pkg-config/hacks.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/pkg-config/hacks.mk b/devel/pkg-config/hacks.mk new file mode 100644 index 00000000000..b0669ce2666 --- /dev/null +++ b/devel/pkg-config/hacks.mk @@ -0,0 +1,15 @@ +# $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 |