|
#1
[pkgsrc] MacOS X で pkgsrc/wip/emacs-current
いくつか不思議なことがあった。
以下は Mac OS X 10.5.2。大小文字を区別しない HFS+ 上の話。
- cvs に与える DATE の文字列を少し変更する必要があった
Index: mk/cvs-package.mk
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/mk/cvs-package.mk,v
retrieving revision 1.24
diff -u -r1.24 cvs-package.mk
--- mk/cvs-package.mk 18 Dec 2007 12:31:24 -0000 1.24
+++ mk/cvs-package.mk 7 May 2008 17:08:00 -0000
@@ -137,7 +137,7 @@
_CVS_TAG_FLAG.${r}= -r${CVS_TAG}
_CVS_TAG.${r}= ${CVS_TAG}
. else
-_CVS_TAG_FLAG.${r}= -D${_CVS_TODAY}T00:00+0
+_CVS_TAG_FLAG.${r}= -D${_CVS_TODAY} 00:00+0
_CVS_TAG.${r}= ${_CVS_TODAY:Q}
. endif
_CVS_DISTFILE.${r}= ${PKGBASE}-${CVS_MODULE.${r}}-${_CVS_TAG.${r}}.tar.gz
T って何だか分っていない。
CVS の版は次の通り
Concurrent Versions System (CVS) 1.12.13 (client/server)
- /etc/mk.conf を読んでくれないので、何か変更が必要らしい
(/usr/pkg/etc/mk.conf を変更した
.include "/etc/mk.conf"
を追加した。
)
- carbon は簡単には有効にならなかった
Index: emacs-current/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/emacs-current/options.mk,v
retrieving revision 1.4
diff -u -r1.4 options.mk
--- emacs-current/options.mk 27 Feb 2008 14:22:20 -0000 1.4
+++ emacs-current/options.mk 7 May 2008 17:09:11 -0000
@@ -5,7 +5,7 @@
PKG_SUPPORTED_OPTIONS= x11 gnome font-backend
PKG_OPTIONS_OPTIONAL_GROUPS+= toolkit
PKG_OPTIONS_GROUP.toolkit= gtk motif xaw carbon
-PKG_SUGGESTED_OPTIONS= x11
+PKG_SUGGESTED_OPTIONS= # none
.include "../../mk/bsd.options.mk"
@@ -112,6 +112,7 @@
APPLICATIONS_DIR= Applications
CONFIGURE_ARGS+= --with-carbon
+CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --enable-carbon-app=${PREFIX}/${APPLICATIONS_DIR}
PLIST_SRC+= PLIST.carbon
(多分一つ目が重要で二つ目はなくてもいいのかも知れない)
(以上 patch は画面から写したので patch は読んでくれないかも知れない)
それと、これらとは多分関係ないはずだけれど macterm.c がおかしくて
make 出来なかった。
macterm.c:231: error: static declaration of 'mac_initialize' follows non-static declaration
macterm.h:632: error: previous declaration of 'mac_initialize' was here
...
macterm.c:1005:1: error: unterminated #if
この辺りの変更
が怪しいかな、と。
| |
最近の日記
2025年02月13日
・dvipdfmx ICC profile format spec. version 4.3.0
2025年01月29日
・ham/wsjtx
2025年01月27日
・wip/wsjtx 5.4.2
2025年01月25日
・ham/wsjtx
2025年01月15日
・今更 advent calendar
|