Subject: pkgsrc problems with FreeBSD
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 10/01/2003 12:09:20
Hi!

I can't use pkgsrc with FreeBSD 5.1. I have installed the bootstrap
kit, modified PATH to include /usr/pkg and disabled /usr/sbin/pkg_*.
I have also added OBJECT_FMT setting for FreeBSD but I still get this:


# cd /usr/pkgsrc/pkgtools/pkg_install
# make
Unknown modifier '1'

Unknown modifier '1'

Unknown modifier '1'

usage: /usr/pkg/sbin/pkg_admin [-b] [-d lsdir] [-V] [-s sfx] command args ...
Where 'commands' and 'args' are:
  rebuild                     - rebuild pkgdb from +CONTENTS files
  check [pkg ...]             - check md5 checksum of installed files
  add pkg ...                 - add pkg files to database
  delete pkg ...              - delete file entries for pkg in database
  lsall /path/to/pkgpattern   - list all pkgs matching the pattern
  lsbest /path/to/pkgpattern  - list pkgs matching the pattern best
  dump                        - dump database
  pmatch pattern pkg          - returns true if pkg matches pattern, otherwise 
false
Unknown modifier '1'


Any ideas?

Martti