We downloaded source tarballs, just ran ./configure, tweaked some --options knobs, and installed everything just fine! That was before everything was diluted with linux-only code, though.
set FORCE_PKG_REGISTER=yes
export FORCE_PKG_REGISTER=yes
bill# cd apache22
bill# make distclean
===> Cleaning for apache-2.2.14_5
===> Deleting distfiles for apache-2.2.14_5
bill# portupgrade --batch -arR
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 650 packages found (-1 +0) (...) done]
** Makefile possibly broken: www/gnome-user-share:
apxs:Error: /usr/local/bin/apr-1-config not found!.
"/usr/ports/Mk/bsd.apache.mk", line 288: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
gnome-user-share-2.28.1
/usr/local/sbin/portupgrade:1469:in `get_pkgname': Makefile broken (MakefileBrokenError)
from /usr/local/sbin/portupgrade:623:in `main'
from /usr/local/sbin/portupgrade:614:in `each'
from /usr/local/sbin/portupgrade:614:in `main'
from /usr/local/sbin/portupgrade:588:in `catch'
from /usr/local/sbin/portupgrade:588:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
from /usr/local/sbin/portupgrade:565:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2209
bill# cd /
bill# portupgrade --batch -arR
** Makefile possibly broken: www/gnome-user-share:
apxs:Error: /usr/local/bin/apr-1-config not found!.
"/usr/ports/Mk/bsd.apache.mk", line 288: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
gnome-user-share-2.28.1
/usr/local/sbin/portupgrade:1469:in `get_pkgname': Makefile broken (MakefileBrokenError)
from /usr/local/sbin/portupgrade:623:in `main'
from /usr/local/sbin/portupgrade:614:in `each'
from /usr/local/sbin/portupgrade:614:in `main'
from /usr/local/sbin/portupgrade:588:in `catch'
from /usr/local/sbin/portupgrade:588:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
from /usr/local/sbin/portupgrade:565:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2209
bill#
APR_FROM_PORTS "Use devel/apr as APR (preferred)" Off \
THREADS "Enable threads support in APR" Off \
MYSQL "Enable MySQL support for apr-dbd" Off \
PGSQL "Enable PostgreSQL support for apr-dbd" Off \
SQLITE "Enable SQLite support for apr-dbd" Off \
IPV6 "Enable IPv6 support" On \
BDB "Enable BerkeleyDB dbm" Off
# pkg_deinstall -df devel/apr www/apache22
# cd /usr/ports/www/apache22
# make clean
# make rmconfig
# make
(Accept the default options here unmodified)# make install
# make clean
and then try to restart # portupgrade --batch -arR
and see whether it now successfully updates the remaining ports.DutchDaemon said:Depending on your shell:
set FORCE_PKG_REGISTER=yes
export FORCE_PKG_REGISTER=yes
setenv FORCE_PKG_REGSTER
?# portsnap fetch
# portsnap update
# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/All/
# portupgrade -PRra
achix said:maybe for tcsh you mean
setenv FORCE_PKG_REGSTER
?
$ tcsh
> set FORCE_PKG_REGISTER=yes
> echo $FORCE_PKG_REGISTER
yes
hitchup said:Back to my prob.
I know this is very newby but, I know how to set $PATH environment variable how do I set FORCE_PKG_REGISTER true.
FORCE_PKG_REGISTER=yes
jotawski said:in /etc/make.conf, put the following line
for your systemCode:FORCE_PKG_REGISTER=yes
mickey said:Wow, you *really* do not want to set this in /etc/make.conf!
Things like FORCE_PKG_REGISTER should strictly be set on a as-needed basis only, if and only if you do fully understand *why* you need it and what it does.
Actually I have not encountered a single situation where I had to set it.