Created
July 7, 2015 18:03
-
-
Save take01x/675c99d8d68cf363751b to your computer and use it in GitHub Desktop.
ユーザ権限で ports からインストールするための設定ファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setting for ports to install by user privileges | |
export __MAKE_CONF=/dev/null | |
export INSTALL_AS_USER=yes | |
export PREFIX=${HOME}/usr/local | |
export LOCALBASE=${HOME}/usr/local | |
export PKG_DBDIR=${LOCALBASE}/var/db/pkg | |
export PORT_DBDIR=${LOCALBASE}/var/db/pkg | |
export DISTDIR=${LOCALBASE}/tmp/dist | |
export WRKDIRPREFIX=${LOCALBASE}/tmp/work | |
export PORTSDIR=${HOME}/usr/ports | |
export PKGTOOLS_CONF=${LOCALBASE}/etc/pkgtools.conf | |
export DEPENDS_TARGET='install clean' | |
export LDCONFIG="/sbin/ldconfig -f ${LOCALBASE}/var/run/ld-elf.so.hints -i -R ${LOCALBASE}/etc/ld-elf.so.conf" | |
export LD_LIBRARY_PATH=${LOCALBASE}/lib | |
export LD_RUN_PATH=${LOCALBASE}/lib | |
export PATH=${LOCALBASE}/bin:${LOCALBASE}/sbin:${PATH} | |
export MANPATH_MAP="${LOCALBASE}/bin ${LOCALBASE}/man" | |
# enable .bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment