pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/inputmethod/canna-lib Pullup ticket #5337 - re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae27b19287e6
branches:  pkgsrc-2017Q1
changeset: 360322:ae27b19287e6
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon May 01 08:39:38 2017 +0000

description:
Pullup ticket #5337 - requested by sevan
inputmethod/canna-lib: build fix

Revisions pulled up:
- inputmethod/canna-lib/Makefile                                1.17

---
   Module Name:    pkgsrc
   Committed By:   jperkin
   Date:           Thu Apr 20 13:25:07 UTC 2017

   Modified Files:
           pkgsrc/inputmethod/canna-lib: Makefile

   Log Message:
   Don't rely on GNU sed features.

diffstat:

 inputmethod/canna-lib/Makefile |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 28d9dcda70eb -r ae27b19287e6 inputmethod/canna-lib/Makefile
--- a/inputmethod/canna-lib/Makefile    Mon May 01 08:31:17 2017 +0000
+++ b/inputmethod/canna-lib/Makefile    Mon May 01 08:39:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/10/25 12:17:36 tsutsui Exp $
+# $NetBSD: Makefile,v 1.16.12.1 2017/05/01 08:39:38 bsiegert Exp $
 
 PKGREVISION=   1
 CANNA_MODULE=  lib
@@ -13,11 +13,6 @@
        @${SED} -e 's|\(SUBDIRS = lib canna\).*\( misc\)|\1 cmd/forcpp cmd/kpdic dic/phono\2|' \
                -e 's|\(SGSDIR = \).*|\1 lib canna dic/phono misc doc|' \
                ${WRKSRC}/Imakefile.orig > ${WRKSRC}/Imakefile
-.for f in forcpp kpdic
-       @${MV} ${WRKSRC}/cmd/${f}/Imakefile ${WRKSRC}/cmd/${f}/Imakefile.orig
-       @${SED} -e '/^#define TargetName/a\${.newline}#define DontInstallProgram' ${WRKSRC}/cmd/${f}/Imakefile.orig \
-               > ${WRKSRC}/cmd/${f}/Imakefile
-.endfor
 
 MAKE_ENV+=     AWK=${AWK:Q}
 
@@ -27,4 +22,7 @@
 post-configure:
        @${LN} -s ${WRKSRC}/server/*.h ${WRKSRC}/include
 
+post-install:
+       ${RM} ${DESTDIR}${PREFIX}/bin/forcpp ${DESTDIR}${PREFIX}/bin/kpdic
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index