diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-09 20:22:46 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-09 20:22:46 +0800 |
commit | b1360116612262a091098b1c4627ea2a26e11d23 (patch) | |
tree | d1dc344b468cba97a3b7869ba8cbcbabf442c151 /net-im/libgaim/Makefile | |
parent | 92bc9961170066294f55c88daf145b33dcf886ad (diff) | |
download | freebsd-ports-gnome-b1360116612262a091098b1c4627ea2a26e11d23.tar.gz freebsd-ports-gnome-b1360116612262a091098b1c4627ea2a26e11d23.tar.zst freebsd-ports-gnome-b1360116612262a091098b1c4627ea2a26e11d23.zip |
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.
Diffstat (limited to 'net-im/libgaim/Makefile')
-rw-r--r-- | net-im/libgaim/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-im/libgaim/Makefile b/net-im/libgaim/Makefile index 8f60e1f24a6c..2ac5c0e983c2 100644 --- a/net-im/libgaim/Makefile +++ b/net-im/libgaim/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 |