diff options
author | oliver <oliver@FreeBSD.org> | 2006-12-15 00:36:10 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2006-12-15 00:36:10 +0800 |
commit | c7588404fa7b760b2281597399b542ce5bc2dca5 (patch) | |
tree | 633c3ab3caeb98a2c06468849fc00e2562910838 /sysutils | |
parent | c0fd614b13f7a8116de52467de3d02e271065f4c (diff) | |
download | freebsd-ports-gnome-c7588404fa7b760b2281597399b542ce5bc2dca5.tar.gz freebsd-ports-gnome-c7588404fa7b760b2281597399b542ce5bc2dca5.tar.zst freebsd-ports-gnome-c7588404fa7b760b2281597399b542ce5bc2dca5.zip |
fix the detection of wxgtk during configure
make NLS optional
bump PORTREVISION
Approved by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bacula-server-devel/Makefile | 10 | ||||
-rw-r--r-- | sysutils/bacula-server/Makefile | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/bacula-server-devel/Makefile b/sysutils/bacula-server-devel/Makefile index ab853697dfef..4d29403882d9 100644 --- a/sysutils/bacula-server-devel/Makefile +++ b/sysutils/bacula-server-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= bacula DISTVERSION= 1.39.30 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} 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 .endif +OPTIONS+= NLS "Native Language Support via gettext utilities" on OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off # 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 .endif +.if defined(WITH_NLS) +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +.else +CONFIGURE_ARGS+= --disable-nls +.endif + # Client only or full server version .if defined(WITH_CLIENT_ONLY) CONFFILES= fd @@ -118,6 +127,7 @@ PLIST_SUB+= GNOMECONS="@comment " .if defined(WITH_WXCONSOLE) USE_WX= 2.4 CONFIGURE_ARGS+= --enable-wx-console +CONFIGURE_ENV+= WXCONFIG="${WX_CONFIG}" PLIST_SUB+= WXCONS="" .else # We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!) diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 440f63c95ea8..fa922386e940 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= bacula DISTVERSION= 1.38.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} 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 .endif +OPTIONS+= NLS "Native Language Support via gettext utilities" on OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" off # 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 .endif +.if defined(WITH_NLS) +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +.else +CONFIGURE_ARGS+= --disable-nls +.endif + # Client only or full server version .if defined(WITH_CLIENT_ONLY) CONFFILES= fd @@ -120,6 +128,7 @@ PLIST_SUB+= GNOMECONS="@comment " .if defined(WITH_WXCONSOLE) USE_WX= 2.4 CONFIGURE_ARGS+= --enable-wx-console +CONFIGURE_ENV+= WXCONFIG="${WX_CONFIG}" PLIST_SUB+= WXCONS="" .else # We didn't need GTK (it's not possible to put WANT_GNOME in an .if statement!) |