--- build/tibs/compiler/pkgconfig.mak.orig	2010-03-23 09:32:47.000000000 +1300
+++ build/tibs/compiler/pkgconfig.mak	2011-01-16 13:37:03.000000000 +1300
@@ -3,8 +3,9 @@
 ifdef CONF_LIBDIR
 # Try to guess here if target supports pkgconfig
 # - Any POSIX platform
+# - Macintosh
 # - Cross-compiling on a POSIX target for WINDOWS (mingw32)
-ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),)
+ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /mac/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),)
 
 XFNAME.PKGCONFIG = $(addprefix $$(OUT),$1)
 MKDEPS.PKGCONFIG = $1
