pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Reorganize some of the files under pkgsrc/mk:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/397c1c5d39ba
branches:  trunk
changeset: 481540:397c1c5d39ba
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Oct 06 20:51:47 2004 +0000

description:
Reorganize some of the files under pkgsrc/mk:

    (1) defs.${OPSYS}.mk --> platform/${OPSYS}.mk.

The "platform" subdirectory is where all of the ${OPSYS}-specific
infrastructure logic should reside.

    (2) bsd.pkg.defaults.mk --> defaults/mk.conf
        bsd.pkg.obsolete.mk --> defaults/obsolete.mk

Renaming bsd.pkg.defaults.mk to defaults/mk.conf is to mimic the way
that NetBSD has /etc/rc.conf as well as /etc/defaults/rc.conf, where
the latter is a full list of user-settable variables, and the two
files share the same name to reinforce the fact /etc/defaults/rc.conf
can be directly copied in place as /etc/rc.conf.  This is the same
relationship shared by defaults/mk.conf and /etc/mk.conf.

diffstat:

 mk/bsd.pkg.defaults.mk  |  2344 -----------------------------------------------
 mk/bsd.pkg.install.mk   |     4 +-
 mk/bsd.pkg.obsolete.mk  |   126 --
 mk/bsd.prefs.mk         |    14 +-
 mk/defaults/mk.conf     |  2344 +++++++++++++++++++++++++++++++++++++++++++++++
 mk/defaults/obsolete.mk |   126 ++
 mk/defs.AIX.mk          |   202 ----
 mk/defs.BSDOS.mk        |   182 ---
 mk/defs.Darwin.mk       |   172 ---
 mk/defs.FreeBSD.mk      |   184 ---
 mk/defs.IRIX.mk         |   184 ---
 mk/defs.Interix.mk      |   187 ---
 mk/defs.Linux.mk        |   212 ----
 mk/defs.NetBSD.mk       |   218 ----
 mk/defs.OpenBSD.mk      |   190 ---
 mk/defs.SunOS.mk        |   208 ----
 mk/defs.UnixWare.mk     |   177 ---
 mk/platform/AIX.mk      |   202 ++++
 mk/platform/BSDOS.mk    |   182 +++
 mk/platform/Darwin.mk   |   172 +++
 mk/platform/FreeBSD.mk  |   184 +++
 mk/platform/IRIX.mk     |   184 +++
 mk/platform/Interix.mk  |   187 +++
 mk/platform/Linux.mk    |   212 ++++
 mk/platform/NetBSD.mk   |   218 ++++
 mk/platform/OpenBSD.mk  |   190 +++
 mk/platform/SunOS.mk    |   208 ++++
 mk/platform/UnixWare.mk |   177 +++
 mk/tools.mk             |     4 +-
 29 files changed, 4597 insertions(+), 4597 deletions(-)

diffs (truncated from 9347 to 300 lines):

diff -r 20d1adb39d6d -r 397c1c5d39ba mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Wed Oct 06 19:47:01 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2344 +0,0 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.286 2004/10/06 19:47:01 tv Exp $
-#
-
-# A file providing defaults for pkgsrc and the packages collection.
-# See the NetBSD mk.conf(5) and packages(7) manual page for a full
-# description of all available options.
-#
-
-# ************************************************************************
-# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
-# ************************************************************************
-
-#ALLOW_VULNERABLE_PACKAGES=
-# allow the user to build packages which are known to be vulnerable to
-# security exploits
-# Possible: defined, not defined
-# Default: not defined
-
-MANINSTALL?= maninstall catinstall
-# Specify manpage installation types.
-# Possible: maninstall, catinstall, both types or empty
-# Default: maninstall catinstall
-
-#MANZ=
-# gzip manual pages at installation time
-# Possible: defined, not defined
-# Default: not defined
-
-#MKCRYPTO= no
-# If not YES or yes, don't fetch, build or install crypto packages.
-# Possible: not defined, no
-# Default: yes
-
-#OBJHOSTNAME=
-# use hostname-specific object directories, e.g.  work.amnesiac, work.localhost
-# OBJHOSTNAME takes precedence over OBJMACHINE (see below).
-# Possible: defined, not defined
-# Default: not defined
-
-#OBJMACHINE=
-# use machine-specific object directories, e.g.  work.i386, work.sparc
-# Possible: defined, not defined
-# Default: not defined
-
-#PKG_SUFX= .tbz
-# Create binary packages with bzip2(1) or gzip(1).
-# Possible: .tbz, .tgz
-# Default: .tgz
-
-PKGSRC_LOCKTYPE?= none
-# The type of locking which will be done if competing processes attempt to
-# do work on one package directory simultaneously.
-# + Locking requires that OBJHOSTNAME is set.
-# + Locking may require the pkgsrc/pkgtools/shlock package to be installed
-#   on certain OS types.
-# + Sleep locking means that the process will sleep for ${PKGSRC_SLEEPSECS}
-#   seconds, then try to acquire the lock, and sleeping again if it's not
-#   available.
-# + Once locking will try once to acquire the lock, and then fail.
-# Possible: none, sleep, once
-# Default: none
-
-PKGSRC_SLEEPSECS?= 5
-# The number of seconds to wait when PKGSRC_LOCKTYPE is sleep
-# Possible: a positive integer
-# Default: 5
-
-#USETBL=
-# Run raw manual pages through tbl(1) before piping through troff(1)
-# when formatting manual pages.
-# Possible: defined, not defined
-# Default: not defined
-
-
-#
-# The following values are used to manage the packages collection as a whole.
-#
-
-#ABI=  
-# The ABI to be used, if supported by the Operating System and/or compiler.
-# Currently only used under IRIX and explicitly set during bootstrapping
-# Only change this if you really know what you're doing -- libraries of
-# one ABI can not be linked with libraries of another!
-# Possible: 64 (64 bit ABI), 32 (SGI's N32 ABI), undefined (SGI's old o32 ABI)
-# Default: determined during bootstrapping
-
-#PKG_DEVELOPER=        yes
-# Run a sanity check that package developers want:
-#  * run check-shlibs to see that all binaries will find their libs
-# Possible: defined, not defined
-# Default: not defined
-
-IGNORE_RECOMMENDED?=   no
-# Ignore package prerequisite recommendations.  If this is set to
-# "no", all entries in RECOMMENDED will be added to DEPENDS.
-# If set to "yes", a warning will be printed if recommendations
-# are possibly ignored.
-#
-# WARNING: This should only be set if you know what you're doing.
-# Please read pkgsrc/Packages.txt for details.
-#
-# Possible: yes, no
-# Default: no
-
-#PKG_REGISTER_SHELLS= YES
-# Automatically register shells in /etc/shells
-# Possible: YES, NO
-# Default: YES
-
-PKGSRC_MESSAGE_RECIPIENTS?=
-# login names of recipients of any MESSAGE files which will be mailed
-# Possible: any login names
-# Default: none
-
-PKGSRC_SHOW_BUILD_DEFS?=yes
-# Show BUILD_DEFS definitions for a package when it is being built
-# (BUILD_DEFS are extra definitions which govern how some packages are
-# built and behave)
-# Possible: "yes", not "yes"
-# Default: "yes"
-
-.if defined(PKG_DEVELOPER)
-PKGSRC_SHOW_PATCH_ERRORMSG?=no
-.else
-PKGSRC_SHOW_PATCH_ERRORMSG?=yes
-.endif
-# Print a potentially helpful error message when the "patch" stage fails
-# Possible: "yes", not "yes"
-# Default: "no" if PKG_DEVELOPER is defined, "yes" otherwise
-
-PKGSRC_RUN_TEST?=      no
-# Run test target before install
-# Possible: yes, no
-# Default: no
-
-PREFER_PKGSRC?=                MesaLib Xft2 Xrandr Xrender expat fontconfig    \
-                       freetype2 glu randrext render xcursor
-PREFER_NATIVE?=                yes
-#
-# When building packages, whether to prefer the pkgsrc or native
-# versions of software that's also part of the base system.  Its value
-# can be either yes/no, or a list of packages as named in the
-# BUILDLINK_PACKAGES line in a package's buildlink[23].mk file.
-# Preferences are determined by the most specific instance of the
-# package in either PREFER_PKGSRC or PREFER_NATIVE.  If a package is
-# specified in neither or in both variables, then PREFER_PKGSRC has
-# precedence over PREFER_NATIVE.
-#
-# Possible: yes, no, or a list of packages
-
-#WRKOBJDIR=    /usr/tmp
-# build here instead of in pkgsrc
-# Possible: any path
-# Default: not defined
-
-LOCALBASE?=    /usr/pkg
-# Where non-X-based packages will be installed
-# Possible: any path
-# Default: /usr/pkg
-
-CROSSBASE?=    ${LOCALBASE}/cross
-# Where "cross" category packages install
-# Possible: any path
-# Default: ${LOCALBASE}/cross
-
-VARBASE?=      /var
-# Where files containing local state information are installed
-# Possible: any path
-# Default: /var
-
-# Default installation prefix for meta-pkgs/XFree86 and
-# meta-pkgs/xorg.
-.if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86)
-X11ROOT_PREFIX?=       XFree86
-.elif defined(X11_TYPE) && !empty(X11_TYPE:Mxorg)
-X11ROOT_PREFIX?=       xorg
-USE_BUILTIN.fixesext=  yes
-USE_BUILTIN.Xfixes=    yes
-USE_BUILTIN.render=    yes
-USE_BUILTIN.randrext=  yes
-.else
-X11ROOT_PREFIX?=       # empty
-.endif
-
-.if ((defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \
-     defined(X11_TYPE) && !empty(X11_TYPE:Mxorg)) && \
-     defined(X11_TYPE) && empty(X11_TYPE:Mnative))
-X11BASE?=              ${LOCALBASE}/${X11ROOT_PREFIX}
-.endif
-#X11BASE?=     /usr/X11R6
-# Where X11 is installed on the system.
-# (and the default install path of X11 pkgs)
-# Possible: any path
-# Default: /usr/X11R6, /usr/openwin for Solaris
-
-#MOTIFBASE?=   /usr/X11R6
-# Where Motif-2.0-compatible headers and libraries are installed
-# on the system.
-# Possible: any path
-# Default: ${X11PREFIX} or where openmotif or lesstif is installed
-
-USE_XPKGWEDGE?=        yes
-# Whether we should use xpkgwedge or not to install all packages into
-# ${LOCALBASE}.
-# Possible: yes, no
-# Default: yes
-
-BSDSRCDIR?=    /usr/src
-# Where the NetBSD src module source tree is located
-#  used in the emulators/plex86, emulators/vmware-module{,3}, net/arla,
-#  sysutils/aperture, and sysutils/fdgw packages
-# Possible: any path
-# Default: /usr/src
-
-BSDXSRCDIR?=   /usr/xsrc
-# Where the NetBSD xsrc module source tree is located
-#  used in the x11/xservers package
-# Possible: any path
-# Default: /usr/xsrc
-
-DISTDIR?=      ${_PKGSRCDIR}/distfiles
-# Directory where original distribution
-# files are stored.
-# Possible: any path you like
-# Default: /usr/pkgsrc/distfiles
-
-#DIST_PATH=    /cdrom/0/distfiles:${HOME}/distfiles
-# colon-delimited list of directories in which to search for
-# ${DISTFILES} and ${PATCHFILES}.  If the requested file is not in any
-# of the directories in ${DIST_PATH}, it will be downloaded into
-# ${DISTDIR}.  If the requested file is in one of the directories in
-# ${DIST_PATH}, a symbolic link will be made to it from ${DISTDIR}. 
-# ${DIST_PATH} directories will will be searched before ${DISTDIR},
-# letting a CD hold the main distfiles archive, and local ${DISTDIR}
-# hold any updated distfiles, for example.
-# Possible:  any directories
-# Default: none
-
-DEFAULT_VIEW?= ""
-# This is the default view to which packages are added after installation.
-# Default: "" (the empty view)
-
-.if exists(${LOCALBASE}/bin/ftp)
-FETCH_CMD?=             ${LOCALBASE}/bin/ftp
-.else
-FETCH_CMD?=             /usr/bin/ftp
-.endif
-# Default program to fetch the files with pkgsrc.
-# Default: NetBSD's ftp(1).
-# Possible: any.
-
-.if ${FETCH_CMD:T} == "ftp"
-FETCH_RESUME_ARGS?=    -R
-.else
-FETCH_RESUME_ARGS?=    # empty
-.endif
-# Default argument to resume transferencies on pkgsrc, when using ftp(1)
-# from NetBSD/pkgsrc.
-# Default: -R
-# Possible: depends on your FETCH_CMD value.
-
-PKG_INSTALLATION_PREFS?= overwrite pkgviews
-# This is a whitespace-separated list of installation types to try when
-# building a package, in order of preference.
-# Possible: any of: overwrite, pkgviews
-# Default: overwrite pkgviews
-
-PKG_RESUME_TRANSFERS?= NO
-# Used in pkgsrc to resume transfers, if enabled the whole file won't be
-# downloaded from scratch again.
-# Possible: yes or no.
-# Default: no.
-
-PKG_SYSCONFBASE?= ${PREFIX}/etc
-# This is the main config directory under which all package configuration
-# files should be found.
-# Possible: any path you like
-# Default: ${PREFIX}/etc
-
-RCD_SCRIPTS_DIR?= /etc/rc.d
-# This is the system rc.d script directory in which all rc.d scripts
-# expected to be executed at boot-time should be found.  Package views
-# users may want to set this to "${PKG_SYSCONFBASEDIR}/rc.d".
-# Possible: any path you like
-# Default: /etc/rc.d
-
-PACKAGES?=     ${_PKGSRCDIR}/packages
-# Store generated packages on a per-architecture base
-# Possible: any path you like
-# Default: /usr/pkgsrc/packages
-
-PKGVULNDIR?=   ${DISTDIR}
-# Specifies where the `vulnerabilities' file is located.  This variable
-# is used by the audit-packages program and by pkgsrc itself to do security
-# checks before building/installing programs.
-# Possible: any path you like



Home | Main Index | Thread Index | Old Index