killasmurf86 said:i don't know about portinstall but portmaster will 1st build port and if he can build it successfully it'll uninstall old port, then install new one.
it's easier to mess things up with make.
nORKy said:Someone can explain my the difference between portinstall and make ??
Because :
portinstall gimp -> install firefox 2 before gimp
cd /usr/ports/graphics/gimp ; make install clean ; -> don't install firefox2
Thanks you
print what the port producing file if ports installed correctly (with pkg-plist files and setting /var/db/pkg registry)pkg_which <path_to_file>
pkg_which /usr/local/etc/php.ini-dist
php5-5.2.6_2
pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 107 packages found (-0 +1) . done]
Stale origin: 'devel/php5-pcre': perhaps moved or obsoleted.
-> The port 'devel/php5-pcre' was moved to 'lang/php5' on 2008-12-07 because:
"Integrated in base php"
Fixed. (-> lang/php5)
Duplicated origin: lang/php5 - php5-5.2.6_2 php5-pcre-5.2.6_2
Unregister any of them? [no]
..
thats ignoring ports from "/usr/ports/{chinese,french,german,hebrew,japanese',...} directoriesENV['PKG_BACKUP_DIR'] = '/var/pkg'
IGNORE_CATEGORIES = [
'chinese',
'french',
'german',
'hebrew',
'japanese',
'korean',
'ukrainian',
'vietnamese',
]
MAKE_ARGS = {
'*' => [
'FORCE_PKG_REGISTER=yes',
],
'misc/mc' => [
'WITHOUT_SAMBA=yes',
'WITH_ICONV=yes',
'WITH_EDIT=yes',
'WITH_UTF8=yes',
'WITH_SLANG=yes',
'WITH_SUBSHELL=yes',
'WITH_UTF8=yes',
],
'shells/bash' => [
'WITH_INCLUDED_FAQ=yes',
'WITH_STATIC_BASH=yes',
'WITH_INTEGRATED_HELPFILES=yes',
],
'www/nginx' => [
'WITH_HTTP_REWRITE_MODULE=yes',
'WITH_HTTP_MODULE=yes',
'WITH_HTTP_REALIP_MODULE=yes',
'WITH_HTTP_SSL_MODULE=yes',
'WITH_HTTP_STATUS_MODULE=yes',
'WITH_HTTP_SUB_MODULE=yes',
],
....
AFTERINSTALL = {
'shells/bash' => sprintf(
'/root/bin/ports/bash.sh'
),
...
}
...
when i installing/upgrading bash and more cool features (set php4 as default instead by php5 if package require php, or held OpenOffice for upgrade, because recompile of huge OO - is little stress for you system.. and more..)#!/bin/sh
cp /usr/local/bin/bash /bin/bash
cp /etc/shells /tmp
grep -iv "bash" /tmp/shells > /etc/shells
echo "/bin/bash" >> /etc/shells
and after change checkbox executecd /usr/ports/graphics/gimp; make config;
make pretty-print-run-depends-list