aboutsummaryrefslogtreecommitdiff
path: root/textproc/clucene
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-28 02:30:02 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-28 02:30:02 +0000
commita8af6a7a4ce0c1b16b32f6477a981afce792268f (patch)
treea9e0c8bf2bf7089b48fd1ad6977fefd9e5fa3323 /textproc/clucene
parent758f8ec7ffa641f4cbf0076240f55a4e573bd3a2 (diff)
downloadports-a8af6a7a4ce0c1b16b32f6477a981afce792268f.tar.gz
ports-a8af6a7a4ce0c1b16b32f6477a981afce792268f.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>
Notes
Notes: svn path=/head/; revision=174014
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