diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-19 07:46:27 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-19 07:46:27 +0000 |
commit | da789f6807736d094f3996ec70f97a8bc252037f (patch) | |
tree | d471e241146c9a8f5669df44f46d9c846549cc2e /textproc/aspell/Makefile | |
parent | 225d2115e9df3991134b1c6d08fbd2beb0f77c9e (diff) | |
download | ports-da789f6807736d094f3996ec70f97a8bc252037f.tar.gz ports-da789f6807736d094f3996ec70f97a8bc252037f.zip |
Notes
Diffstat (limited to 'textproc/aspell/Makefile')
-rw-r--r-- | textproc/aspell/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile index a9e4460622cf..6ee822b611b9 100644 --- a/textproc/aspell/Makefile +++ b/textproc/aspell/Makefile @@ -7,6 +7,7 @@ PORTNAME= aspell PORTVERSION= 0.60.6 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= aspell @@ -23,7 +24,6 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \ --enable-docdir=${DOCSDIR} \ - --enable-curses=ncursesw \ --enable-static PTHREAD_CFLAGS= # Disable threading PTHREAD_LIBS= # libaspell may be used by unthreaded apps. @@ -84,6 +84,14 @@ INFO= aspell-dev aspell CFLAGS+= -O .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 602107 +CONFIGURE_ARGS+= --disable-wide-curses +.else +CONFIGURE_ARGS+= --enable-curses=ncursesw +.endif + pre-everything:: @${ECHO_MSG} "" .if !defined(WITH_ISPELL) @@ -123,4 +131,4 @@ inst-dicten: >> ${TMPPLIST} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |