aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-02-28 22:29:25 +0800
committerkwm <kwm@FreeBSD.org>2011-02-28 22:29:25 +0800
commit87720625166fb771a9bed89e65a4f5c895c0648b (patch)
treeb64f6c1f76308b810346211649589a9c44d2d8a2 /net
parent42ee37a5f08ed71860c00f2dba54e3fe6dae1a9a (diff)
downloadfreebsd-ports-gnome-87720625166fb771a9bed89e65a4f5c895c0648b.tar.gz
freebsd-ports-gnome-87720625166fb771a9bed89e65a4f5c895c0648b.tar.zst
freebsd-ports-gnome-87720625166fb771a9bed89e65a4f5c895c0648b.zip
Override a configure test, so the correct behaviour is done when build with clang.
Diffstat (limited to 'net')
-rw-r--r--net/libproxy/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile
index 1c1a2c91bd21..5f31eef73a1a 100644
--- a/net/libproxy/Makefile
+++ b/net/libproxy/Makefile
@@ -18,7 +18,8 @@ USE_GMAKE= yes
USE_GNOME+= gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ ac_cv_func_malloc_0_nonnull=yes
CONFIGURE_ARGS?=--without-gnome --without-kde --without-webkit \
--without-mozjs --without-networkmanager --with-python \
--with-envvar --with-file