Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
六月
Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
22
Ports And Packages
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 717
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 727
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 717
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 727
FreeBSD 引用 (0)
來源:Tzeng, Yi-Feng (http://std1.mis.yzu.edu.tw/~s882617/FNP2/faq/ports_pkg.php)
如何只抓取 tarball?
如果只希望抓取 tarball 下來的話,僅需下 make fetch 即可。
以 editors/joe 為例的話,則:
cd /usr/ports/editors/joe/
make fetch
預設會將 joe 的 tarball 下載至 /usr/ports/distfiles/ 目錄下。
如何僅做到解開 tarball的步驟?
有時候習慣自己 patch/修正 原始碼的時候,很常用到這個功能。
以 editors/joe 為例的話,則:
cd /usr/ports/editors/joe/
make extract
會將 tarball解開至 /usr/ports/editors/joe/work/ 目錄下。
如何僅做到解開 tarball 並補上官方提供的 patch?
此方法與 2 有一些類似,不同於是先補上官方提供的 patch ,再行 patch 自己的修正。
以 editors/joe 為例的話,則:
cd /usr/ports/editors/joe/
make patch
會將 tarball解開至 /usr/ports/editors/joe/work/ 目錄下,並已經 patch 上官方提供的 patch。