pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/28618: Cannot run pkg_info when making inputmethod/ja-freewnn-dict on Mac OS X.
>Number: 28618
>Category: pkg
>Synopsis: Cannot run pkg_info when making inputmethod/ja-freewnn-dict on
>Mac OS X.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Dec 12 03:09:00 +0000 2004
>Originator: Noritoshi Demizu
>Release: Mac OS X 10.3.6
>Organization:
>Environment:
Darwin xxxx 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004;
root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
When I tried to make inputmethod/ja-freewnn-dict, I got the following message.
$ bmake
sh: line 1: /var/dict/sbin/pkg_info: No such file or directory
===> Unable to satisfy dependency: gcc3-c>=none
The cause is LOCALBASE (which should be "/usr/pkg") is overwritten
by "/var/dict" in inputmethod/ja-freewnn-dict/Makefile, as follows.
LOCALBASE= ${IMDICTDIR}
Note: IMDICTDIR is defined as "/var/dict" in mk/defaults/mk.conf.
To make inputmethod/ja-freewnn-dict successfully, LOCALBASE should not be
modified to run pkg_info. Instead, I think INSTALLATION_PREFIX should be used
to specify the target directory.
>How-To-Repeat:
on Mac OS X 10.3,
$ cd inputmethod/ja-freewnn-dict
$ bmake
>Fix:
To make inputmethod/ja-freewnn-dict successfully, I think the following patch
needs to be applied.
Index: ja-freewnn-dict/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/inputmethod/ja-freewnn-dict/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- ja-freewnn-dict/Makefile 17 Jul 2003 21:43:37 -0000 1.2
+++ ja-freewnn-dict/Makefile 12 Dec 2004 02:09:18 -0000
@@ -22,6 +22,6 @@
.include "../../mk/bsd.prefs.mk"
NO_MTREE= YES
-LOCALBASE= ${IMDICTDIR}
+INSTALLATION_PREFIX= ${IMDICTDIR}
.include "../ja-freewnn-lib/Makefile.common"
Home |
Main Index |
Thread Index |
Old Index