Page MenuHomeFreeBSD
Paste P392

(An Untitled Masterwork)
ActivePublic

Authored by swills on Thu, Jun 11, 3:43 PM.
# PREFIX will be /home/<user>/local-<arch>
export UNAMEM=`uname -m`
export LOCALBASE=${HOME}/local-${UNAMEM}
export X11BASE=${HOME}/local-${UNAMEM}
export PKG_DBDIR=${HOME}/local-${UNAMEM}/var.db.pk
export PATH=${HOME}/local-${UNAMEM}/bin:${HOME}/local-${UNAMEM}/sbin:${PATH}
export LD_LIBRARY_PATH=${HOME}/local-${UNAMEM}/lib
export LD_RUN_PATH=${HOME}/local-${UNAMEM}/lib
export PACKAGES=${HOME}/local-${UNAMEM}/packages
export __MAKE_CONF=${HOME}/local-${UNAMEM}/etc/make.conf
export PORT_DBDIR=${HOME}/local-${UNAMEM}/options
# tell Makefile who owns it all
export INSTALL_AS_USER=yes
export WHOAMI=`whoami`
export BINOWN=${WHOAMI}
export BINGRP=${WHOAMI}
export MANOWN=${WHOAMI}
export MANGRP=${WHOAMI}
# ranlib on readonly libs dont work
export SHAREMODE=644
# ldconfig must write.
export LDCONFIG="/sbin/ldconfig -i -f ${HOME}/local-${UNAMEM}/etc/ldconfig.hints"
# write distfiles here
export DISTDIR=${HOME}/distfiles
# cwrkdirs
export WRKDIRPREFIX=${HOME}/work
# uncomment this to use your own ports tree
export PORTSDIR=${HOME}/ports
# cache packages
export USE_PACKAGE_DEPENDS="yes"
export DEPENDS_SHOW_FLAVOR="yes"
export DEPENDS_TARGET="package install"
# use installed pkg
export PKG_DEPENDS=
export PKG_PREFIX=/usr/local
export PKG_BIN=/usr/local/sbin/pkg-static

Event Timeline

swills created this paste.Thu, Jun 11, 3:43 PM
swills created this object in space S1 Global.