Bulk build prerequisites

  • Needed packages
archiver/gnu-tar
compress/bzip2
compress/gzip
developer/gcc-3
developer/gnu-binutils
developer/icu
developer/object-file
developer/sunstudio
developer/sunstudio12u1
developer/versioning/cvs
driver/network/bpf
file/gnu-coreutils
ice/network/dns/mdns
library/usb/libusb
library/ncurses
library/readline
library/security/openssl
library/zlib
network/ftp
shell/bash
system/header
system/header/header-audio
system/library/gcc-3-runtime
system/library/math
system/library/math/header-math
system/xopen/xcu4
text/gnu-diffutils
text/gnu-grep
text/gnu-patch
  • mk-fragment.conf
TOOLS_PLATFORM.diff?=   /usr/bin/gdiff

ABI=                                    32

FAILOVER_FETCH=                 yes
ALLOW_VULNERABLE_PACKAGES=      yes
PKG_DEVELOPER=                  yes
SKIP_LICENSE_CHECK=             yes

MAKE_JOBS=                      8

PASSIVE_FETCH=          1

GCC_REQD=               4.4

.for GCCPKG in lang/gcc44 pkgtools/digest archivers/pax devel/gettext-lib devel/libtool-base archivers/bzip2 archivers/zip archivers/unzip converters/libiconv devel/bison devel/flex devel/gmp devel/autoconf devel/gettext-tools devel/gmake devel/gtexinfo devel/m4 devel/zlib lang/perl5 math/mpfr net/tnftp pkgtools/pkg_install-info sysutils/checkperms
.       if ${PKGPATH} == ${GCCPKG}
GCC_REQD=
.       endif
.endfor

DEPENDS_TARGET=         package-install
UPDATE_TARGET=          package-install

PREFER_PKGSRC=          no
PREFER_NATIVE=          solaris-pam
PREFER_NATIVE_PTHREADS= yes

X11_TYPE=               modular

USE_BUILTIN.curses=         yes
USE_BUILTIN.openssl=        yes
USE_BUILTIN.libusb=         yes
USE_BUILTIN.mDNSResponder=  yes

MASTER_SORT=            .uk .fr .de

PREFER.sun-jre6=        native
JAVA_BINPREFIX=         /usr/bin

LOCALPATCHES=           /opt/ipp/pkgsrc/localpatches

WRKOBJDIR=                      /tmp/pkgsrc
BULKFILESDIR=           ${WRKOBJDIR}
  • bootstrap
./bootstrap --workdir /tmp/pkgsrc --prefix /opt/ipp/pkg --mk-fragment mk-fragment.conf --gzip-binary-kit bootstrap-gcc44.tgz