diff options
-rw-r--r-- | math/gnumeric110/Makefile | 4 | ||||
-rw-r--r-- | math/gnumeric110/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/math/gnumeric110/Makefile b/math/gnumeric110/Makefile index 2ba2c85bd28..5af46e4f1e4 100644 --- a/math/gnumeric110/Makefile +++ b/math/gnumeric110/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2012/05/15 03:45:22 reed Exp $ +# $NetBSD: Makefile,v 1.34 2012/06/02 07:11:09 wiz Exp $ DISTNAME= gnumeric-1.10.17 PKGREVISION= 4 @@ -27,6 +27,8 @@ REPLACE_PERL+= plugins/perl-func/perl_func.pl GOFFICE_VERSION= 0.8.17 PLIST_SUBST+= GOFFICE_VERSION=${GOFFICE_VERSION} +.include "options.mk" + CONFIGURE_ARGS+= --with-python CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} .include "../../lang/python/application.mk" diff --git a/math/gnumeric110/options.mk b/math/gnumeric110/options.mk new file mode 100644 index 00000000000..8fd9809acae --- /dev/null +++ b/math/gnumeric110/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2012/06/02 07:11:09 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gnumeric +PKG_SUPPORTED_OPTIONS= psiconv + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpsiconv) +.include "../../converters/psiconv/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-psiconv +.endif |