aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/font-manager
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-09-26 17:47:57 +0800
committerdougb <dougb@FreeBSD.org>2011-09-26 17:47:57 +0800
commit08efc8138bf320fbec4914503e36bf2651695007 (patch)
tree23cd4eed6110fe338acd306d604d84c9d6e46649 /x11-fonts/font-manager
parentcd86df6df0f52c43ee792f07f52841c6a8c0055f (diff)
downloadfreebsd-ports-gnome-08efc8138bf320fbec4914503e36bf2651695007.tar.gz
freebsd-ports-gnome-08efc8138bf320fbec4914503e36bf2651695007.tar.zst
freebsd-ports-gnome-08efc8138bf320fbec4914503e36bf2651695007.zip
Finish applying actual patch
PR: ports/156119 Submitted by: maintainer
Diffstat (limited to 'x11-fonts/font-manager')
-rw-r--r--x11-fonts/font-manager/Makefile6
-rw-r--r--x11-fonts/font-manager/files/patch-src-constants.py.in11
2 files changed, 16 insertions, 1 deletions
diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile
index d2aa5f85f4b9..9064ff3e0221 100644
--- a/x11-fonts/font-manager/Makefile
+++ b/x11-fonts/font-manager/Makefile
@@ -7,7 +7,7 @@
PORTNAME= font-manager
PORTVERSION= 0.5.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts gnome
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -32,6 +32,10 @@ OPTIONS= REPORTLAB "Enable font-sampler (PDF sample sheet)" off \
.include <bsd.port.options.mk>
+.if defined(NOPORTDATA)
+IGNORE= port data is source code, undefine NOPORTDATA
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
diff --git a/x11-fonts/font-manager/files/patch-src-constants.py.in b/x11-fonts/font-manager/files/patch-src-constants.py.in
new file mode 100644
index 000000000000..161f542cc6fa
--- /dev/null
+++ b/x11-fonts/font-manager/files/patch-src-constants.py.in
@@ -0,0 +1,11 @@
+--- src/constants.py.in.orig 2011-09-25 22:42:09.742559932 -0500
++++ src/constants.py.in 2011-09-25 22:43:06.091693624 -0500
+@@ -51,7 +51,7 @@ import gettext
+ try:
+ locale.setlocale(locale.LC_ALL, '')
+ locale.bindtextdomain(PACKAGE, LOCALEDIR)
+-except locale.Error:
++except:
+ pass
+
+ gettext.textdomain(PACKAGE)