From 136f7d11358d5bc3c7bfca9a9d0049da074de663 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Tue, 27 Sep 2011 21:05:24 +0400 Subject: [PATCH] devel/glib20: fix iconv dependency The iconv library is needed for glib20, because it is explicitely specified in configure's options. Moreover, we should pass -L${LOCALBASE}/lib to configure, because it tries to test if iconv is here and builds a small program that requires -liconv. Signed-off-by: Eygene Ryabinkin --- devel/glib20/Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index e51fc02..7f93e85 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -33,6 +33,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre +USE_ICONV= yes USE_GETTEXT= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes @@ -48,7 +49,8 @@ CONFIGURE_ARGS= --enable-static --with-libiconv=gnu \ --with-pcre=system \ --disable-fam CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + LDFLAGS="${LDFLAGS}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl -- 1.7.3.4