I've wrote about this in the past, bit didn't get what Marc meant. http://marc.info/?t=136785219800002&r=1&w=2
On Thu, Oct 31, 2013 at 03:38:20PM +0400, Vadim Zhukov wrote: > 31.10.2013 13:32 ???????????????????????? "Brett Mahar" <brett.ma...@gmx.com> > ??????????????: > > > > Hi espie@ and ports@, > > > > When I type "env SUBPACKAGE="-main" make install" sqlports errors out as > below. > > > > Since the error says "Stop in /usr/ports/mystuff/mail", I rm -rf > /usr/ports/mystuff/ and then sqlports built fine. > > > > Is there some way I can make it ignore my PORTSDIR_PATH without editing > my mk.conf each time I build it? > > make PORTSDIR_PATH=/usr/ports ... > > > Brett. > > > > > > My /etc/mk.conf: > > > > PORTSDIR_PATH=/usr/ports/mystuff:/usr/ports > > USE_SYSTRACE=Yes > > FORCE_UPDATES=Yes > > > > # ls /usr/ports/mystuff/ > > mail/ net/ www/ x11/ > > > > ... > > +++ lang/ucblogo > > +++ lang/unicon > > +++ lang/vala > > +++ lang/verilator > > make: don't know how to make dump-vars > > Stop in /usr/ports/mystuff/mail > > *** Error 1 in /usr/ports > > (infrastructure/mk/bsd.port.subdir.mk:147'dump-vars') > > mail: exiting with an error > > Can't call method "value" on an undefined value at > /usr/ports/databases/sqlports/files/PkgPath.pm line 48, <$fd> line 150158. > > PkgPath::flavor('PkgPath=HASH(0x3148b76c940)') called at > /usr/ports/infrastructure/lib/DPB/BasePkgPath.pm line 233 > > > DPB::BasePkgPath::handle_default_flavor('PkgPath=HASH(0x3148b76c940)', > 'HASH(0x3148fc5f868)', 'MyTreeWalker=HASH(0x31492676970)') called at > /usr/ports/infrastructure/lib/DPB/BasePkgPath.pm line 198 > > DPB::BasePkgPath::handle_equivalences('PkgPath', > 'MyTreeWalker=HASH(0x31492676970)', 'HASH(0x31497682028)', undef) called at > /usr/ports/databases/sqlports/files/mksqlitedb line 90 > > TreeWalker::__ANON__ called at > /usr/ports/databases/sqlports/files/mksqlitedb line 104 > > TreeWalker::parse_dump('MyTreeWalker=HASH(0x31492676970)', > 'GLOB(0x3148fc4ca48)', undef) called at > /usr/ports/databases/sqlports/files/mksqlitedb line 193 > > MyTreeWalker::parse_dump('MyTreeWalker=HASH(0x31492676970)', > 'GLOB(0x3148fc4ca48)', undef) called at > /usr/ports/databases/sqlports/files/mksqlitedb line 69 > > TreeWalker::dump_dirs('MyTreeWalker=HASH(0x31492676970)', undef) > called at /usr/ports/databases/sqlports/files/mksqlitedb line 140 > > TreeWalker::dump_all_dirs('MyTreeWalker=HASH(0x31492676970)') > called at /usr/ports/databases/sqlports/files/mksqlitedb line 256 > > Issuing rollback() due to DESTROY without explicit disconnect() of > DBD::SQLite::db handle > dbname=/usr/ports/pobj/sqlports-2.9/sqlports-2.9/sqlports-compact at > /usr/ports/databases/sqlports/files/PkgPath.pm line 48. > > eval {...} called at > /usr/ports/databases/sqlports/files/PkgPath.pm line 48 > > Issuing rollback() due to DESTROY without explicit disconnect() of > DBD::SQLite::db handle > dbname=/usr/ports/pobj/sqlports-2.9/sqlports-2.9/sqlports at > /usr/ports/databases/sqlports/files/PkgPath.pm line 48. > > eval {...} called at > /usr/ports/databases/sqlports/files/PkgPath.pm line 48 > > *** Error 255 in . (Makefile:21 'do-build': @cd /usr/ports && > PORTSDIR=/usr/ports perl /usr/ports/databases/sqlports/files/mksqlitedb -v > /us...) > > *** Error 1 in . > > (/usr/ports/infrastructure/mk/bsd.port.mk:2650'/usr/ports/pobj/sqlports-2.9/.build_done') > > *** Error 1 in . > > (/usr/ports/infrastructure/mk/bsd.port.mk:1851'/usr/ports/packages/amd64/all/sqlports-2.9.tgz') > > *** Error 1 in . > > (/usr/ports/infrastructure/mk/bsd.port.mk:2403'_internal-package') > > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'package') > > *** Error 1 in . > > (/usr/ports/infrastructure/mk/bsd.port.mk:1868'/var/db/pkg/sqlports-2.9/+CONTENTS') > > *** Error 1 in /usr/ports/databases/sqlports > (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'install') > > -- best regards q#