pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/fontforge Fix idiotic configure script which cre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/762d26fad603
branches:  trunk
changeset: 522259:762d26fad603
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 06 15:29:15 2006 +0000

description:
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:

 fonts/fontforge/Makefile         |   4 +++-
 fonts/fontforge/distinfo         |   3 ++-
 fonts/fontforge/patches/patch-ae |  13 +++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 152a560e55b6 -r 762d26fad603 fonts/fontforge/Makefile
--- a/fonts/fontforge/Makefile  Wed Dec 06 15:27:59 2006 +0000
+++ b/fonts/fontforge/Makefile  Wed Dec 06 15:29:15 2006 +0000
@@ -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 @@
 
 VERSION=       20061014
 
+MAKE_ENV+=     PKGLOCALEDIR=${PKGLOCALEDIR:Q}
+
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake msgfmt
diff -r 152a560e55b6 -r 762d26fad603 fonts/fontforge/distinfo
--- a/fonts/fontforge/distinfo  Wed Dec 06 15:27:59 2006 +0000
+++ b/fonts/fontforge/distinfo  Wed Dec 06 15:29:15 2006 +0000
@@ -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-ab) = ec93a47051186bcb901fd145edffad7c457c33fd
 SHA1 (patch-ac) = 7fe3d9174e407e04966081155965ff994a0fd69b
 SHA1 (patch-ad) = 6a76e7e5e4882eb5af6f31ff3dbc6e7c17b69784
+SHA1 (patch-ae) = 33993f03402d12067b3335b0bbb830252a5b49ac
diff -r 152a560e55b6 -r 762d26fad603 fonts/fontforge/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/fontforge/patches/patch-ae  Wed Dec 06 15:29:15 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index