pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ja-sed



Module Name:    pkgsrc
Committed By:   jlam
Date:           Fri Aug 18 01:15:02 UTC 2017

Modified Files:
        pkgsrc/textproc/ja-sed: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/ja-sed/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ja-sed/Makefile
diff -u pkgsrc/textproc/ja-sed/Makefile:1.13 pkgsrc/textproc/ja-sed/Makefile:1.14
--- pkgsrc/textproc/ja-sed/Makefile:1.13        Sat Apr  6 20:27:29 2013
+++ pkgsrc/textproc/ja-sed/Makefile     Fri Aug 18 01:15:02 2017
@@ -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 @@ INFO_FILES=  yes
 
 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