Make Perl support optional.
PR: 131436 Submitted by: Timothy Beyer <beyert@cs.ucr.edu> (based on)
This commit is contained in:
parent
6526752ad7
commit
ee9ed2fdf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232733
2 changed files with 18 additions and 10 deletions
|
@ -20,7 +20,6 @@ LIB_DEPENDS= goffice-0.8.7:${PORTSDIR}/devel/goffice \
|
|||
|
||||
USE_BZIP2= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \
|
||||
libgsf_gnome pygtk2 desktopfileutils libgnomeui
|
||||
|
@ -29,7 +28,7 @@ INSTALLS_OMF= yes
|
|||
USE_LDCONFIG= yes
|
||||
INSTALLS_ICONS= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-guile --with-bonobo --with-gnome
|
||||
CONFIGURE_ARGS= --with-gnome
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \
|
||||
python_prog=${PYTHON_VERSION}
|
||||
|
@ -41,10 +40,19 @@ MAN1= gnumeric.1 ssconvert.1 ssindex.1 ssgrep.1
|
|||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
OPTIONS= GNOMEDB "Enable libgnomedb support" off
|
||||
OPTIONS= GNOMEDB "Enable libgnomedb support" off \
|
||||
PERL "Enable Perl as extension language" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_PERL)
|
||||
USE_PERL5= yes
|
||||
PLIST_SUB+= PERL=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-perl
|
||||
PLIST_SUB+= PERL="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNOMEDB)
|
||||
USE_GNOME+= libgnomedb
|
||||
CONFIGURE_ARGS+= --with-gda
|
||||
|
|
|
@ -206,11 +206,11 @@ lib/gnumeric/%%VERSION%%/plugins/oleo/plugin.xml
|
|||
lib/gnumeric/%%VERSION%%/plugins/openoffice/openoffice.la
|
||||
lib/gnumeric/%%VERSION%%/plugins/openoffice/openoffice.so
|
||||
lib/gnumeric/%%VERSION%%/plugins/openoffice/plugin.xml
|
||||
lib/gnumeric/%%VERSION%%/plugins/perl-func/perl_func.pl
|
||||
lib/gnumeric/%%VERSION%%/plugins/perl-func/plugin.xml
|
||||
lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.la
|
||||
lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.so
|
||||
lib/gnumeric/%%VERSION%%/plugins/perl-loader/plugin.xml
|
||||
%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-func/perl_func.pl
|
||||
%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-func/plugin.xml
|
||||
%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.la
|
||||
%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.so
|
||||
%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/plugin.xml
|
||||
lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plan_perfect.la
|
||||
lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plan_perfect.so
|
||||
lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plugin.xml
|
||||
|
@ -944,8 +944,8 @@ share/locale/zh_TW/LC_MESSAGES/gnumeric.mo
|
|||
@dirrm lib/gnumeric/%%VERSION%%/plugins/py-func
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/psiconv
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/plan_perfect
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-loader
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-func
|
||||
%%PERL%%@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-loader
|
||||
%%PERL%%@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-func
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/openoffice
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/oleo
|
||||
@dirrm lib/gnumeric/%%VERSION%%/plugins/numtheory
|
||||
|
|
Loading…
Reference in a new issue