Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

[ports] bsd.port.mk 的重大變革

一月21日的時候,bsd.port.mk 上做了一大堆的更新,大約是由 24 個 pr 所構成的,如果從第一個 pr 開始算,大約也花了半年之久。

對於 maintain ports 來說,比較有用的 pr 是多了個 @dirrmtry 來取代 @unexec rmdir … 。
以前的 @unexe rmdir 要寫起來,又臭又長:

@dirrm %%SITE_PERL%%/XML/RSS/LibXML
@unexec rmdir %D/%%SITE_PERL%%/XML/RSS 2>/dev/null || true

換成 @dirrmtry 就好多了:

@dirrm %%SITE_PERL%%/XML/RSS/LibXML
@dirrmtry %%SITE_PERL%%/XML/RSS

在字面上也不會與 dirrm 常搞混(對於新手來說)。

另一個較具意義的改變是將 portsnap (在 5-STABLE 及 6-STABLE 之後已經是 base 的了) 列為 make update (1) 最優先執行的程式 :D 不過我不確定如果是由 /usr/src 打 make update 會是什麼情況?還沒試 :p

echo ‘PORTSNAP_UPDATE= yes’ >> /etc/make.conf

最後一個我想講的是 virtual category,先前 llwang openvanilla 的相關模組,然後看起來 FreeBSD 少了個 input-method 的 category ,不知道有沒有人想送個類似 88230 的 pr 來加個 im (input-method) 的 virtual category?

Update: 奇怪,這篇看的人不少,下一篇怎麼都沒人看?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn
  1. cd /usr/ports; make update [back]

4 Responses to “[ports] bsd.port.mk 的重大變革”

  1. 1
    b6s:

    其實我是覺得沒有 input method category 沒關係,因為 lukhnos 和 mjhsieh 和我還比較想讓它變成一種更能為老外所接受的 text service architecture……
    一直叫 input method 的話,好像會脫離不了由日本人先開始的、總是被當成 east asian languages 專用的宿命。
    (input method 實在是超日本式的英文,叫 text entry 比較好)

  2. 2
    clsung:

    只是 virtual category 其實還好啦 :p

  3. 3
    b6s:

    啦啦,我把 portsnap 放進 crontab 了

  4. 4
    clsung:

    今天終於回家了 :’(

Leave a Reply

噗浪:

  • clsung 想 來買 fuji mini 5 hours 前
  • clsung 正在 累.... 6 hours 前
  • clsung 說 看過 "Vicky Cristina Barcelona(情遇巴塞隆納)" 的還有誰呢? 11 hours 前

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan