Date: Mon, 30 Jun 1997 17:20:01 -0700 (PDT) From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> To: freebsd-ports Subject: Re: ports/3990: port japanese/prn: bugfix Message-ID: <199707010020.RAA24444@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/3990; it has been noted by GNATS. From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> To: max@freebsd.org Cc: freebsd-gnats-submit@freebsd.org, max@wide.ad.jp Subject: Re: ports/3990: port japanese/prn: bugfix Date: Tue, 01 Jul 1997 09:17:43 +0900 If you make this package in setting PREFIX to '/usr/local', then the tarboll is the following. # tar tvfz jp-prn-1.0.tgz -rw-r--r-- root/bin 804 Jul 1 08:54 1997 +CONTENTS -rw-r--r-- root/bin 77 Jul 1 08:54 1997 +COMMENT -rw-r--r-- root/bin 357 Jul 1 08:54 1997 +DESC -r--r--r-- root/wheel 3288 Jun 19 13:03 1997 +MTREE_DIRS -rwxr-xr-x root/bin 16384 Jul 1 08:54 1997 bin/prn lrwxr-xr-x bin/bin 0 Jul 1 08:54 1997 bin/cprn -> /usr/local/bin/prn -rwxr-xr-x root/bin 24576 Jul 1 08:54 1997 bin/cmt -rwxr-xr-x root/bin 20480 Jul 1 08:54 1997 bin/psconv -rw-r--r-- root/bin 14937 Jul 1 08:54 1997 lib/prn/cmtdefs -rw-r--r-- root/bin 3663 Jul 1 08:54 1997 man/ja_JP.EUC/man1/prn.1.gz -rw-r--r-- root/bin 81 Jul 1 08:54 1997 man/ja_JP.EUC/man1/cprn.1.gz -rw-r--r-- root/bin 2269 Jul 1 08:54 1997 man/ja_JP.EUC/man1/cmt.1.gz -rw-r--r-- root/bin 2097 Jul 1 08:54 1997 man/ja_JP.EUC/man1/psconv.1.gz -rw-r--r-- root/bin 3773 Jul 1 08:54 1997 man/ja_JP.EUC/man5/cmtdefs.5.gz 'bin/cprn' is a symbolic link to '/usr/local/bin/prn'. If you install by executing 'pkg_add -p /share jp-prn-1.0.tar.gz' for such the package, /share/bin/cprn is a link to '/usr/local/bin/prn'. Note that PREFIX is '/share'. By the following patch, the problem can be solved. > >diff -ur /usr/ports/japanese/prn/pkg/PLIST ./prn/pkg/PLIST > >--- /usr/ports/japanese/prn/pkg/PLIST Mon Jun 23 23:31:11 1997 > >+++ ./prn/pkg/PLIST Thu Jun 26 12:47:38 1997 > >@@ -1,5 +1,6 @@ > > bin/prn > >-bin/cprn > >+@exec ln -sf %D/%F %B/cprn > >+@unexec rm %B/cprn > > bin/cmt > > bin/psconv > > lib/prn/cmtdefs Thanks. S. Taoka
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707010020.RAA24444>