summaryrefslogtreecommitdiff
path: root/package/glib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 19:26:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 19:26:20 +0200
commit16d5b9facce817a1f389543082176e87bd7b92ea (patch)
tree82e0e6dcc5b56326ef1f14c24f0336962225ded3 /package/glib/Makefile
parentd9cd3aca2bf0689374fc71227dd42f629209b868 (diff)
parenta6717421b7e4ed1631bd8e310881f76c0ba1b0fa (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