summaryrefslogtreecommitdiff
path: root/net-im/libpurple/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-09 12:22:46 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-09 12:22:46 +0000
commit8ae4dda19f75012aa3f2243f1461f1b455d70f85 (patch)
tree21fd0ce7f259a507dd134fadfba6ea843974c6c6 /net-im/libpurple/Makefile
parentNo matter ncursesw from ports or base (OSVERSION >= 700033), it's in (diff)
Fix net-im/gaim-consoleui-devel build after ncursesw in base. It tries
to pick up ncursesw first, so properly define _XOPEN_OPEN_SOURCE to make it compile.
Notes
Notes: svn path=/head/; revision=187004
Diffstat (limited to 'net-im/libpurple/Makefile')
-rw-r--r--net-im/libpurple/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index 8f60e1f24a6c..2ac5c0e983c2 100644
--- a/net-im/libpurple/Makefile
+++ b/net-im/libpurple/Makefile
@@ -75,6 +75,10 @@ CONFIGURE_ARGS+=--disable-doxygen
IGNORE= does not build on 4.X
.endif
+.if ${OSVERSION} > 700032
+CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
+.endif
+
.if !defined(GAIM_SLAVE)
.if ${HAVE_GNOME:Mgconf2}!="" || exists(${LOCALBASE}/bin/gconftool-2)
USE_GNOME+= gconf2