summaryrefslogtreecommitdiff
path: root/fonts/fontforge
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-06 15:29:15 +0000
committerjoerg <joerg>2006-12-06 15:29:15 +0000
commit35d884bdd574e714f6d5a8cf23b465f0b7f5d418 (patch)
treed6ff143f512d4cad92855a074e6daaaed26df43a /fonts/fontforge
parent563b5360e2057586629817ff7efe3422746ec142 (diff)
downloadpkgsrc-35d884bdd574e714f6d5a8cf23b465f0b7f5d418.tar.gz
Fix idiotic configure script which creates po/Makefile.in dynamically
and therefore slips through the normal patching code. Inspired by and supposed to fix: PR 35193
Diffstat (limited to 'fonts/fontforge')
-rw-r--r--fonts/fontforge/Makefile4
-rw-r--r--fonts/fontforge/distinfo3
-rw-r--r--fonts/fontforge/patches/patch-ae13
3 files changed, 18 insertions, 2 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index c365aa296eb..356aa5dd079 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/11/25 13:23:01 adam Exp $
+# $NetBSD: Makefile,v 1.31 2006/12/06 15:29:15 joerg Exp $
DISTNAME= fontforge_full-${VERSION}
PKGNAME= fontforge-${VERSION}
@@ -12,6 +12,8 @@ COMMENT= Postscript font editor
VERSION= 20061014
+MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
+
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
diff --git a/fonts/fontforge/distinfo b/fonts/fontforge/distinfo
index 45319934c59..2447c92ab4f 100644
--- a/fonts/fontforge/distinfo
+++ b/fonts/fontforge/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2006/11/25 13:23:01 adam Exp $
+$NetBSD: distinfo,v 1.29 2006/12/06 15:29:15 joerg Exp $
SHA1 (fontforge_full-20061014.tar.bz2) = adb760d2162062dd25303ebb6cf17c3d5cad0b55
RMD160 (fontforge_full-20061014.tar.bz2) = 6f6c315b554b5399e78f07c7f3f8dd0b839cb160
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 7f7a11310fc5050b58e901e08c182dc5025874c6
SHA1 (patch-ab) = ec93a47051186bcb901fd145edffad7c457c33fd
SHA1 (patch-ac) = 7fe3d9174e407e04966081155965ff994a0fd69b
SHA1 (patch-ad) = 6a76e7e5e4882eb5af6f31ff3dbc6e7c17b69784
+SHA1 (patch-ae) = 33993f03402d12067b3335b0bbb830252a5b49ac
diff --git a/fonts/fontforge/patches/patch-ae b/fonts/fontforge/patches/patch-ae
new file mode 100644
index 00000000000..6a0f7d02e75
--- /dev/null
+++ b/fonts/fontforge/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.4 2006/12/06 15:29:16 joerg Exp $
+
+--- configure.orig 2006-12-06 15:13:54.000000000 +0000
++++ configure
+@@ -24030,7 +24030,7 @@ if test "$gww_has_gettext" = "yes" >/dev
+
+ cat </dev/null >po/Makefile.in
+ echo 'prefix = @prefix@' >> po/Makefile.in
+- echo 'localedir = $(prefix)/share/locale' >> po/Makefile.in
++ echo 'localedir = ${PREFIX}/${PKGLOCALEDIR}/locale' >> po/Makefile.in
+ echo 'INSTALL = @INSTALL@' >> po/Makefile.in
+ echo 'INSTALL_DATA = @INSTALL_DATA@' >> po/Makefile.in
+ echo '' >> po/Makefile.in