joe-3.5,1 ports 是不是有問題? - BBS
By Jack
at 2007-01-01T21:38
at 2007-01-01T21:38
Table of Contents
# pkg_create -b joe-3.5,1
tar: etc/joe/joerc.dist: Cannot stat: No such file or directory
# pkg_info -L joe-3.5,1
發現 有 /usr/local/etc/joe/joerc.dist
沒有 /usr/local/etc/joe/joerc
以下是 make install 的 部分output
-----
test -z "/usr/local/etc/joe" || /usr/ports/editors/joe/work/joe-3.5/install-sh -d "/usr/local/etc/joe"
install -o root -g wheel -m 444 'joerc' '/usr/local/etc/joe/joerc'
^^^^^^^^^^^ ??
install -o root -g wheel -m 444 'jicerc.ru' '/usr/local/etc/joe/jicerc.ru'
install -o root -g wheel -m 444 'jmacsrc' '/usr/local/etc/joe/jmacsrc'
install -o root -g wheel -m 444 'jstarrc' '/usr/local/etc/joe/jstarrc'
install -o root -g wheel -m 444 'rjoerc' '/usr/local/etc/joe/rjoerc'
install -o root -g wheel -m 444 'jpicorc' '/usr/local/etc/joe/jpicorc'
install -o root -g wheel -m 444 'ftyperc' '/usr/local/etc/joe/ftyperc'
-----
應該要 install joerc.dist 到 /usr/local/etc/joe/ 才對吧
以下是 部分Makefile
-----
post-install:
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file} ${PREFIX}/etc/${PORTNAME}/${file}.dist
.endif
.endfor
-----
if rc 不存在, then copy rc to rc.dist ,寫反了吧?
應該改成這樣才對吧
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file}.dist ${PREFIX}/etc/${PORTNAME}/${file}
.endif
.endfor
--
tar: etc/joe/joerc.dist: Cannot stat: No such file or directory
# pkg_info -L joe-3.5,1
發現 有 /usr/local/etc/joe/joerc.dist
沒有 /usr/local/etc/joe/joerc
以下是 make install 的 部分output
-----
test -z "/usr/local/etc/joe" || /usr/ports/editors/joe/work/joe-3.5/install-sh -d "/usr/local/etc/joe"
install -o root -g wheel -m 444 'joerc' '/usr/local/etc/joe/joerc'
^^^^^^^^^^^ ??
install -o root -g wheel -m 444 'jicerc.ru' '/usr/local/etc/joe/jicerc.ru'
install -o root -g wheel -m 444 'jmacsrc' '/usr/local/etc/joe/jmacsrc'
install -o root -g wheel -m 444 'jstarrc' '/usr/local/etc/joe/jstarrc'
install -o root -g wheel -m 444 'rjoerc' '/usr/local/etc/joe/rjoerc'
install -o root -g wheel -m 444 'jpicorc' '/usr/local/etc/joe/jpicorc'
install -o root -g wheel -m 444 'ftyperc' '/usr/local/etc/joe/ftyperc'
-----
應該要 install joerc.dist 到 /usr/local/etc/joe/ 才對吧
以下是 部分Makefile
-----
post-install:
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file} ${PREFIX}/etc/${PORTNAME}/${file}.dist
.endif
.endfor
-----
if rc 不存在, then copy rc to rc.dist ,寫反了吧?
應該改成這樣才對吧
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file}.dist ${PREFIX}/etc/${PORTNAME}/${file}
.endif
.endfor
--
Tags:
BBS
All Comments
Related Posts
mrtg 輸出問題
By Olga
at 2006-12-31T22:47
at 2006-12-31T22:47
make package vs pkg_create
By Daniel
at 2006-12-31T22:09
at 2006-12-31T22:09
mrtg 輸出問題
By Isabella
at 2006-12-31T21:54
at 2006-12-31T21:54
Re: JBOSS 安裝
By Jacky
at 2006-12-31T13:34
at 2006-12-31T13:34
JBOSS 安裝
By Skylar DavisLinda
at 2006-12-31T01:45
at 2006-12-31T01:45