mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
fix the detection of wxgtk during configure
make NLS optional bump PORTREVISION Approved by: maintainer
This commit is contained in:
parent
cbd186b57a
commit
1fc5fd5d94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179769
2 changed files with 20 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= bacula
|
PORTNAME= bacula
|
||||||
DISTVERSION= 1.39.30
|
DISTVERSION= 1.39.30
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= bacula
|
MASTER_SITE_SUBDIR= bacula
|
||||||
|
@ -76,6 +77,7 @@ OPTIONS+= POSTGRESQL "Use PostgreSQL database instead of SqLite" off
|
||||||
OPTIONS+= MTX "Install mtx for control of autochanger devices" off
|
OPTIONS+= MTX "Install mtx for control of autochanger devices" off
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
OPTIONS+= NLS "Native Language Support via gettext utilities" on
|
||||||
OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off
|
OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off
|
||||||
|
|
||||||
# Prepare if gnome-console is selected this must be happen before
|
# Prepare if gnome-console is selected this must be happen before
|
||||||
|
@ -98,6 +100,13 @@ PLIST_SUB+= BACULA_DIR=${BACULA_DIR}
|
||||||
PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
|
PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_NLS)
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
CONFIGURE_ARGS+= --enable-nls
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
|
.endif
|
||||||
|
|
||||||
# Client only or full server version
|
# Client only or full server version
|
||||||
.if defined(WITH_CLIENT_ONLY)
|
.if defined(WITH_CLIENT_ONLY)
|
||||||
CONFFILES= fd
|
CONFFILES= fd
|
||||||
|
@ -118,6 +127,7 @@ PLIST_SUB+= GNOMECONS="@comment "
|
||||||
.if defined(WITH_WXCONSOLE)
|
.if defined(WITH_WXCONSOLE)
|
||||||
USE_WX= 2.4
|
USE_WX= 2.4
|
||||||
CONFIGURE_ARGS+= --enable-wx-console
|
CONFIGURE_ARGS+= --enable-wx-console
|
||||||
|
CONFIGURE_ENV+= WXCONFIG="${WX_CONFIG}"
|
||||||
PLIST_SUB+= WXCONS=""
|
PLIST_SUB+= WXCONS=""
|
||||||
.else
|
.else
|
||||||
# We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!)
|
# We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= bacula
|
PORTNAME= bacula
|
||||||
DISTVERSION= 1.38.11
|
DISTVERSION= 1.38.11
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= bacula
|
MASTER_SITE_SUBDIR= bacula
|
||||||
|
@ -76,6 +76,7 @@ OPTIONS+= POSTGRESQL "Use PostgreSQL database instead of SqLite" off
|
||||||
OPTIONS+= MTX "Install mtx for control of autochanger devices" off
|
OPTIONS+= MTX "Install mtx for control of autochanger devices" off
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
OPTIONS+= NLS "Native Language Support via gettext utilities" on
|
||||||
OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off
|
OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off
|
||||||
|
|
||||||
# Prepare if gnome-console is selected this must be happen before
|
# Prepare if gnome-console is selected this must be happen before
|
||||||
|
@ -100,6 +101,13 @@ DISTFILES+= ${PORTNAME}-docs-${PORTVERSION}-1.tar.gz
|
||||||
PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
|
PORTDOCS= ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_NLS)
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
CONFIGURE_ARGS+= --enable-nls
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
|
.endif
|
||||||
|
|
||||||
# Client only or full server version
|
# Client only or full server version
|
||||||
.if defined(WITH_CLIENT_ONLY)
|
.if defined(WITH_CLIENT_ONLY)
|
||||||
CONFFILES= fd
|
CONFFILES= fd
|
||||||
|
@ -120,6 +128,7 @@ PLIST_SUB+= GNOMECONS="@comment "
|
||||||
.if defined(WITH_WXCONSOLE)
|
.if defined(WITH_WXCONSOLE)
|
||||||
USE_WX= 2.4
|
USE_WX= 2.4
|
||||||
CONFIGURE_ARGS+= --enable-wx-console
|
CONFIGURE_ARGS+= --enable-wx-console
|
||||||
|
CONFIGURE_ENV+= WXCONFIG="${WX_CONFIG}"
|
||||||
PLIST_SUB+= WXCONS=""
|
PLIST_SUB+= WXCONS=""
|
||||||
.else
|
.else
|
||||||
# We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!)
|
# We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!)
|
||||||
|
|
Loading…
Add table
Reference in a new issue