pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ja-sed textproc/ja-sed: Fix empty installed G...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f538f6c95c22
branches:  trunk
changeset: 366814:f538f6c95c22
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Aug 18 01:15:02 2017 +0000

description:
textproc/ja-sed: Fix empty installed GNU info file.

This package applies a vendor patch against the distributed GNU
sed files to extend GNU sed with multibyte awareness.  However, the
changes to the GNU info file are applied before the changes to its
source file, so the timestamps make it appear that the GNU info
file needs to be rebuilt.

Update the timestamp of the patched sed.info file in a "pre-build"
target to correct this issue.

Bump the PKGREVISION due to a change in the installed GNU info
file.

diffstat:

 textproc/ja-sed/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fbb7e800a017 -r f538f6c95c22 textproc/ja-sed/Makefile
--- a/textproc/ja-sed/Makefile  Fri Aug 18 01:14:32 2017 +0000
+++ b/textproc/ja-sed/Makefile  Fri Aug 18 01:15:02 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2013/04/06 20:27:29 rodent Exp $
+# $NetBSD: Makefile,v 1.14 2017/08/18 01:15:02 jlam Exp $
 
 DISTNAME=      sed-3.02
 PKGNAME=       ja-sed-3.02
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    japanese textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=sed/}
 
@@ -23,6 +23,12 @@
 
 INSTALLATION_DIRS=     share/doc/ja-sed
 
+# Update the timestamp of the patched sed.info file so that it
+# doesn't get rebuilt and overwritten with an empty file.
+#
+pre-build:
+       ${RUN}${TOUCH} ${WRKSRC}/doc/sed.info
+
 post-install:
        @${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${DESTDIR}${PREFIX}/share/doc/ja-sed
        @${INSTALL_DATA} ${WRKSRC}/README.MB ${DESTDIR}${PREFIX}/share/doc/ja-sed



Home | Main Index | Thread Index | Old Index