This is an old document, dated 17 February 2005.

Using pkgviews on a Mac OS system

Mac OS 10.3.8, xcode 1.5 and Java 1.4.2 Developers installed. This requires a case-sensitive (and preserving) filesystem.

extracted pkgsrc.tar.gz to /Users/mpatters/mm (so ~/mm/pkgsrc is dir it really lives in, all relative directory references will be based on that dir).

Edit etc/defaults/mk.conf and set:

  • PKG_INSTALLATION_PREFS?= pkgviews overwrite
  • RCD_SCRIPTS_DIR?= ${PKG_SYSCONFBASEDIR}/rc.d

sudo, then cd bootstrap. We'll try without trying to force in xhier conventions first... so just plain bootstrap: ./bootstrap

mrf. Move ~mpatters/mm/pkgsrc to /usr and chown it to root. Add /usr/pkg/bin to PATH. Now cd /usr/pkgsrc/pkgtools/digest and bmake package.

So this got me stuff under /usr/pkg/packages/digest-20021220/{bin,man}

Hrm. But I also have a digest binary (not the same one) in /usr/pkg/bin. Weird.

Try again later.

-- MikePatterson - 04 Dec 2005

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2005-12-04 - MikePatterson
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback