summaryrefslogtreecommitdiff
path: root/package/glib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 18:39:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 18:39:39 +0200
commitca68bf14a3b7f6406599308174e959b5b312bef3 (patch)
tree5be06009ebff3fbf2be9801e18da6dff4f211c65 /package/glib
parenta58a6ff7e5a354b7f743ebdba219f42655c1695b (diff)
some more FreeBSD fixes
Diffstat (limited to 'package/glib')
-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