回文章列表
作者style520.bbs@ptt.cc (XXYY), 信區: 386bsd
標題[討論] joe-3.5,1 ports 是不是有問題?
時間批踢踢實業 (Mon Jan 1 21:38:36 2007)
轉信站: GIBBS!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!ctu-gate!ctu-
Origin: sally.csie.ntu.edu.tw

# 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




--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 140.112.245.58
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻