summaryrefslogtreecommitdiff
path: root/package/glib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 20:00:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 20:00:07 +0200
commitf59297dd236b2892205e28c734eb585587651532 (patch)
treefd6a4ec5629a644b8beceed3fb67de2608744ff9 /package/glib/Makefile
parentfb12cc0a7bb293e31e7064f5a64d6cbe0c5447dc (diff)
parent9f21d9bd78d5a8269e72cf5c230207e1b3961b9a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/glib/Makefile')
-rw-r--r--package/glib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 692e5c8af..a5df0225f 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -43,10 +43,11 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \
ac_cv_func_posix_getgrgid_r=yes
pre-configure:
-ifneq ($(OStype),Darwin)
+ifneq ($(OStype),FreeBSD)
(cd ${WRKBUILD}; rm -rf config.{cache,status}; \
- ./configure --prefix=$(STAGING_HOST_DIR) \
- );
+ CFLAGS="-L/usr/local/lib" ./configure --prefix=$(STAGING_HOST_DIR) \
+ --with-libiconv=gnu \
+ )
${MAKE} -C ${WRKBUILD} V=1
$(CP) ${WRKBUILD}/gio/.libs/glib-compile-schemas ${STAGING_HOST_DIR}/bin
$(CP) ${WRKBUILD}/gobject/.libs/glib-genmarshal ${STAGING_HOST_DIR}/bin