new dirs for pkgsrc; new $PATH for pkg root and llvm
This commit is contained in:
parent
4aca722796
commit
84e730cbd8
@ -7,7 +7,7 @@ umask 022
|
|||||||
# Favourite editor and pager, search path for binaries, etc.
|
# Favourite editor and pager, search path for binaries, etc.
|
||||||
export EDITOR=vi
|
export EDITOR=vi
|
||||||
export PAGER=more
|
export PAGER=more
|
||||||
export PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
|
export PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/llvm/bin
|
||||||
|
|
||||||
} # End of no-repeat.
|
} # End of no-repeat.
|
||||||
|
|
||||||
|
@ -1,3 +1,38 @@
|
|||||||
# which architecture to compile for
|
# which architecture to compile for
|
||||||
ARCH=i386
|
ARCH=i386
|
||||||
|
|
||||||
|
.ifdef BSD_PKG_MK # begin pkgsrc settings
|
||||||
|
|
||||||
|
CC= gcc
|
||||||
|
COMPILER_TYPE=gnu
|
||||||
|
|
||||||
|
PATH:= ${PATH}:/usr/gnu/bin
|
||||||
|
.export PATH
|
||||||
|
|
||||||
|
PKGSRC_COMPILER= gcc
|
||||||
|
|
||||||
|
PKG_DBDIR= /usr/db/pkg
|
||||||
|
LOCALBASE= /usr/pkg
|
||||||
|
VARBASE= /var
|
||||||
|
PKG_TOOLS_BIN= /usr/sbin
|
||||||
|
PKGMANDIR= man
|
||||||
|
|
||||||
|
FETCH_USING?= fetch
|
||||||
|
EXTRACT_USING?= bsdtar
|
||||||
|
|
||||||
|
# This is where binary packages are stored.
|
||||||
|
# PACKAGES?= /usr/tmp/packages
|
||||||
|
|
||||||
|
# This is where packages will be extracted and compiled
|
||||||
|
WRKOBJDIR?= /usr/tmp/work
|
||||||
|
|
||||||
|
# This hack is required because, pkgsrc insists on having a working dlopen
|
||||||
|
# even for packages that build and work okay when we don't have one (perl,
|
||||||
|
# libtool, etc). This will cause packages that really require dlopen to fail
|
||||||
|
# during the build/configure stage. But considering the number of packages
|
||||||
|
# that work, this is okay
|
||||||
|
IS_BUILTIN.dl?= yes
|
||||||
|
|
||||||
|
CURSES_DEFAULT?= ncurses
|
||||||
|
|
||||||
|
.endif # end pkgsrc settings
|
||||||
|
2
etc/rc
2
etc/rc
@ -6,7 +6,7 @@ exec </dev/null
|
|||||||
|
|
||||||
umask 022
|
umask 022
|
||||||
TERM="${TERM-minix}"
|
TERM="${TERM-minix}"
|
||||||
PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin
|
PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/pkg/bin:/usr/llvm/bin
|
||||||
RC_TZ=/etc/rc.timezone
|
RC_TZ=/etc/rc.timezone
|
||||||
export TERM PATH
|
export TERM PATH
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user