diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-12 05:03:37 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-12 05:03:37 +0800 |
commit | 730818e5d539951a83065ea16ee82961980f4680 (patch) | |
tree | c96d34ebd7a108a210d5b7545836e9385ece8f8d /news | |
parent | 4687953c0ea8455246505dab1f54b41694629afd (diff) | |
download | freebsd-ports-gnome-730818e5d539951a83065ea16ee82961980f4680.tar.gz freebsd-ports-gnome-730818e5d539951a83065ea16ee82961980f4680.tar.zst freebsd-ports-gnome-730818e5d539951a83065ea16ee82961980f4680.zip |
Make gtkspell support optional (defaults to on), and add OPTIONS support.
Based on patch by: Herbert J. Skuhra <herbert.skuhra@gmx.at>
Diffstat (limited to 'news')
-rw-r--r-- | news/pan2/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/news/pan2/Makefile b/news/pan2/Makefile index 65b8c22e1ec4..548dc2856e3a 100644 --- a/news/pan2/Makefile +++ b/news/pan2/Makefile @@ -17,8 +17,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Threaded GNOME 2 newsreader based on Agent for Windows -LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell2 \ - gnet-2.0.0:${PORTSDIR}/net/gnet2 +LIB_DEPENDS= gnet-2.0.0:${PORTSDIR}/net/gnet2 USE_BZIP2= yes USE_X_PREFIX= yes @@ -28,4 +27,14 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat" -.include <bsd.port.mk> +OPTIONS= GTKSPELL "Enable spell checking support" on + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_GTKSPELL) +CONFIGURE_ARGS+= --disable-gtkspell +.else +LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2 +.endif + +.include <bsd.port.post.mk> |