pkgsrc-Users archive

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

shells/tcsh catalog files



tsutsui@ ( @tsutsuii ) tweets following problem.

+---------------------------------
| With the command
|   cd /usr/pkgsrc/shells/tcsh;
|   make package
| 
| The command aparenlty completes, but by inspecting
| the log, we will find the following lines.
|
|     ------------------------
| ===> Installing for tcsh-6.18.01
| => Generating pre-install file lists
| => Creating installation directories
| mkdir -p 
/export/CHROOT/usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES
| /usr/bin/install -c -o makoto -g wheel  
/export/CHROOT/usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES/tcsh.cat
| usage: install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
|            [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g 
group] 
|            [-l linkflags] [-h hash] [-S stripflags] file1 file2
|        install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
|            [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g group]
|            [-l linkflags] [-h hash] [-S stripflags] file1 ... fileN directory
|        install -d [-Up] [-M log] [-D dest] [-T tags] [-a aftercmd] [-m mode]
|            [-N dbdir] [-o owner] [-g group] directory ...
| *** Error code 1
| 
| Stop.
| make: stopped in /export/CHROOT/usr/pkgsrc/shells/tcsh/work/tcsh-6.18.01/nls
+ ------------------------
This is due to the lines with work/tcsh-6.18.01/nls/Makefile 

     19 INSTALLED+=${localedir}/C/LC_MESSAGES/tcsh.cat
     20 ${localedir}/C/LC_MESSAGES/tcsh.cat:    C.cat
     21         mkdir -p $(@D)
     22         $(INSTALL) $< $@

Those are the syntax for GNU make.
Now I have created the patch and almost ready to send-pr.
But by looking Makefile, there is much similar lines in 
post-install: targets. That's why I am writing here,  
Shall we delete the post-install: targets as well ?

Thanks.
---
Makoto Fujiwara

Index: shells/tcsh/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/shells/tcsh/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- shells/tcsh/Makefile        22 Mar 2012 16:54:25 -0000      1.69
+++ shells/tcsh/Makefile        19 May 2012 00:54:12 -0000
@@ -17,6 +17,7 @@
 GNU_CONFIGURE= yes
 BUILD_TARGET=  all catalogs
 INSTALL_TARGET=        install install.man
+USE_TOOLS+=    gmake
 
 NLSDIR=                share/nls
 PLIST_SRC=     ${WRKDIR}/PLIST-src
Index: shells/tcsh/PLIST
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/shells/tcsh/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- shells/tcsh/PLIST   17 Nov 2002 09:02:02 -0000      1.2
+++ shells/tcsh/PLIST   19 May 2012 00:56:08 -0000
@@ -1,3 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2002/11/17 09:02:02 salo Exp $
+@comment $NetBSD$
 bin/tcsh
 man/man1/tcsh.1
+share/locale/C/LC_MESSAGES/tcsh.cat
+share/locale/de/LC_MESSAGES/tcsh.cat
+share/locale/es/LC_MESSAGES/tcsh.cat
+share/locale/et/LC_MESSAGES/tcsh.cat
+share/locale/fi/LC_MESSAGES/tcsh.cat
+share/locale/fr/LC_MESSAGES/tcsh.cat
+share/locale/gr/LC_MESSAGES/tcsh.cat
+share/locale/it/LC_MESSAGES/tcsh.cat
+share/locale/ja/LC_MESSAGES/tcsh.cat
+share/locale/pl/LC_MESSAGES/tcsh.cat
+share/locale/ru/LC_MESSAGES/tcsh.cat
+share/locale/ru_UA.koi8u/LC_MESSAGES/tcsh.cat



Home | Main Index | Thread Index | Old Index