aboutsummaryrefslogtreecommitdiff
path: root/net-im/libpurple
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2012-03-02 14:56:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2012-03-02 14:56:37 +0000
commit9cd91f3661df9f46ca39be6084af2ed107b5a0f8 (patch)
tree466904dc6113c3a4d0ee136e25eaf90a2646b833 /net-im/libpurple
parent3daaa39f729e817dc3d0849b7af83ab884ecc936 (diff)
downloadports-9cd91f3661df9f46ca39be6084af2ed107b5a0f8.tar.gz
ports-9cd91f3661df9f46ca39be6084af2ed107b5a0f8.zip
Notes
Diffstat (limited to 'net-im/libpurple')
-rw-r--r--net-im/libpurple/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index 12a8b693f93b..bf7e69d48f5d 100644
--- a/net-im/libpurple/Makefile
+++ b/net-im/libpurple/Makefile
@@ -27,6 +27,7 @@ CONFIGURE_ARGS?=--disable-gtkui \
--disable-nm
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
PTHREAD_LIB="${PTHREAD_LIBS}"
+CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
.if !defined(PIDGIN_SLAVE)
@@ -93,10 +94,6 @@ PLIST_SUB+= TCL:="@comment not installed: "
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 700032 || (${OSVERSION} < 700000 && ${OSVERSION} > 602106)
-CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
-.endif
-
.if !defined(PIDGIN_SLAVE)
.if ${HAVE_GNOME:Mgconf2}!="" || exists(${LOCALBASE}/bin/gconftool-2)
USE_GNOME+= gconf2