aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/clucene
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-28 10:30:02 +0800
committerclsung <clsung@FreeBSD.org>2006-09-28 10:30:02 +0800
commitedf93ead089111c0d6b8fa36526d472508dc0561 (patch)
tree8950af6932bc7ecda9d67b48296047f3866a2528 /textproc/clucene
parentb9e6eb9cf3114ab2bd92e778bbe3e0d2ccf70e29 (diff)
downloadfreebsd-ports-gnome-edf93ead089111c0d6b8fa36526d472508dc0561.tar.gz
freebsd-ports-gnome-edf93ead089111c0d6b8fa36526d472508dc0561.tar.zst
freebsd-ports-gnome-edf93ead089111c0d6b8fa36526d472508dc0561.zip
- set variable WITH_ASCII_SUPPORT to configure ASCII support.
Otherwise compile plain, out of the box. - this configuration makes clucene play nicely with the upcoming update of misc/bibletime. PR: ports/103731 Submitted by: Thomas Abthorpe <thomas_AT_goodking dot ca>
Diffstat (limited to 'textproc/clucene')
-rw-r--r--textproc/clucene/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/clucene/Makefile b/textproc/clucene/Makefile
index f928ff0c0ac7..4b963a166aab 100644
--- a/textproc/clucene/Makefile
+++ b/textproc/clucene/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= clsung@FreeBSD.org
COMMENT= CLucene is a C++ port of Lucene
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-ascii
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_GCC= 3.2+
@@ -24,6 +23,10 @@ USE_AUTOTOOLS= libtool:15
.include <bsd.port.pre.mk>
+.if defined(WITH_ASCII_SUPPORT)
+CONFIGURE_ARGS+= --enable-ascii
+.endif
+
.if ${OSVERSION} < 500016
CONFIGURE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
.endif