- Fix build when NLS option is disabled

- Bump PORTREVISION

PR:		200704
Submitted by:	Kevin Zheng
This commit is contained in:
Olivier Duchateau 2015-06-08 17:19:50 +00:00
parent 4622793594
commit d5f62b193d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388846
2 changed files with 14 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= xfce4-screenshooter-plugin PORTNAME= xfce4-screenshooter-plugin
PORTVERSION= 1.8.2 PORTVERSION= 1.8.2
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= x11 xfce CATEGORIES= x11 xfce
MASTER_SITES= XFCE/src/apps/xfce4-screenshooter/${PORTVERSION:R} MASTER_SITES= XFCE/src/apps/xfce4-screenshooter/${PORTVERSION:R}
DISTNAME= xfce4-screenshooter-${PORTVERSION} DISTNAME= xfce4-screenshooter-${PORTVERSION}
@ -21,12 +21,12 @@ GNU_CONFIGURE= yes
INSTALLS_ICONS= yes INSTALLS_ICONS= yes
USE_GNOME= glib20 gtk20 intltool intlhack libxml2 USE_GNOME= glib20 gtk20 intltool intlhack libxml2
USE_XFCE= panel USE_XFCE= panel
USES= pkgconfig gmake libtool xfce tar:bzip2 USES= pkgconfig gmake libtool gettext-tools xfce tar:bzip2
USE_XORG= xfixes xext USE_XORG= xfixes xext
OPTIONS_DEFINE= NLS OPTIONS_DEFINE= NLS
NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext NLS_USES= gettext-runtime
OPTIONS_SUB= yes OPTIONS_SUB= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- configure.orig 2015-01-25 08:47:08 UTC
+++ configure
@@ -15357,7 +15357,7 @@ $as_echo "#define HAVE_LC_MESSAGES 1" >>
fi
fi
- USE_NLS=yes
+ #USE_NLS=yes
gt_cv_have_gettext=no