From: Ben Gras Date: Fri, 16 Jul 2010 00:13:27 +0000 (+0000) Subject: new dirs for pkgsrc; new $PATH for pkg root and llvm X-Git-Tag: v3.1.8~217 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/tz-link.htm?a=commitdiff_plain;h=84e730cbd85b6c3fd0236fa0d31baa349e0d5fb9;p=minix.git new dirs for pkgsrc; new $PATH for pkg root and llvm --- diff --git a/etc/ast/.ashrc b/etc/ast/.ashrc index 24eb74d84..72c8c5e4c 100644 --- a/etc/ast/.ashrc +++ b/etc/ast/.ashrc @@ -7,7 +7,7 @@ umask 022 # Favourite editor and pager, search path for binaries, etc. export EDITOR=vi 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. diff --git a/etc/make.conf b/etc/make.conf index 890f9eb07..4cd19bf81 100644 --- a/etc/make.conf +++ b/etc/make.conf @@ -1,3 +1,38 @@ # which architecture to compile for 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 diff --git a/etc/rc b/etc/rc index e2dab26b7..b123b9b5e 100755 --- a/etc/rc +++ b/etc/rc @@ -6,7 +6,7 @@ exec