Subject: Re: build whacked from bsd.prog.mk change?
To: Chuck McManis <cmcmanis@mcmanis.com>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 04/25/2000 13:44:14
On Tue, 25 Apr 2000, Chuck McManis wrote:

# 
# Do you have a diff?

Between what and which?  I don't have my old /etc/mk.conf anymore.
Diff between /usr/src/pkg/mk/mk.conf.example?  Sure:
[here for anyone else who needs it]

*** mk.conf.example	Thu Apr 20 03:46:39 2000
--- mk.conf.final	Mon Apr 24 20:04:00 2000
***************
*** 16,29 ****
  # Deal with namespace issues. BSD_PKG_MK is always defined when "make"
  # is invoked in pkgsrc, but never in src or xsrc. Don't forget to add the
  # ".endif" at the bottom.
- .ifndef BSD_PKG_MK
- #	Non-package stuff
- .else
  #	Begin package stuff
  
  #
  #	Firstly, definitions for NetBSD and package collection
  #
  
  #MANZ=
  # gzip manual pages at installation time
--- 16,28 ----
  # Deal with namespace issues. BSD_PKG_MK is always defined when "make"
  # is invoked in pkgsrc, but never in src or xsrc. Don't forget to add the
  # ".endif" at the bottom.
  #	Begin package stuff
  
  #
  #	Firstly, definitions for NetBSD and package collection
  #
+ # The stuff below has been migrated out of the conditional and into
+ # here as an unconditional setting.
  
  #MANZ=
  # gzip manual pages at installation time
***************
*** 40,57 ****
  # Possible: any path
  # Default: not defined
  
! #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.
  #
  
! #LOCALBASE=	/usr/local
  # Where non-X-based packages will be installed
  # Possible: any path
  # Default: /usr/pkg
--- 39,145 ----
  # Possible: any path
  # Default: not defined
  
! USETBL=true
  # Run raw manual pages through tbl(1) before piping through troff(1)
  # when formatting manual pages.
  # Possible: defined, not defined
  # Default: not defined
  
+ .ifndef BSD_PKG_MK
+ #	Non-package stuff
+ #BUILD=
+ # If defined, 'make install' checks that the targets in the
+ # source directories are up-to-date and remakes them if they
+ # are out of date, instead of blindly trying to install
+ # out of date or non-existant targets.
+ # Possible values: defined, not defined
+ # Default: not defined
+ 
+ #UPDATE=
+ # If defined, 'make install' only installs targets that are
+ # more recently modified in the source directories that their
+ # installed counterparts.
+ # Possible values: defined, not defined
+ # Default: not defined
+ 
+ #UNPRIVILEGED=
+ # If defined, don't set the owner/group/mode when installing
+ # files or directories.  This allows a non-root "make install".
+ # Possible values: defined, not defined
+ # Default: not defined
+ 
+ MKCATPAGES=no
+ # If "no", don't build or install the catman pages.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKDOC=yes
+ # If "no", don't build or install the documentation.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKINFO=yes
+ # If "no", don't build or install Info documentation from
+ # Texinfo source files.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ MKLINT=no
+ # If "no", don't build or install the lint libraries.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKMAN=yes
+ # If "no", don't build or install the man or catman pages.
+ # Also acts as "MKCATPAGES=no".
+ # Possible values: yes, no
+ # Default: yes
+ 
+ MKNLS=no
+ # If "no", don't build or install the NLS files.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKOBJ=yes
+ # If "no", don't enable the rule which creates objdirs.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKOBJDIRS=no
+ # If "no", don't create objdirs during a "make build".
+ # Possible values: yes, no
+ # Default: no
+ 
+ #MKPIC=yes
+ # If "no", don't build or install shared libraries.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKPICINSTALL=yes
+ # If "no", don't install the *_pic.a libraries.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ MKPROFILE=no
+ # If "no", don't build or install the profiling libraries.
+ # Possible values: yes, no
+ # Default: yes
+ 
+ #MKSHARE=yes
+ # If "no", act as "MKCATPAGES=no MKDOC=no MKINFO=no MKMAN=no
+ # MKNLS=no".  I.e, don't build catman pages, documentation,
+ # Info documentation, man pages, NLS files, ...
+ # Possible values: yes, no
+ # Default: yes
+ 
+ .else
+ 
  
  #
  # The following values are used to manage the packages collection as a whole.
  #
  
! LOCALBASE=	/usr/local
  # Where non-X-based packages will be installed
  # Possible: any path
  # Default: /usr/pkg
***************
*** 61,78 ****
  # Possible: any path
  # Default: ${LOCALBASE}/cross
  
! #X11BASE=	/usr/X11R6
  # Where X11 is installed on the system.
  # (and the default install path of X11 pkgs)
  # Possible: any path
  # Default: /usr/X11R6
  
! #MOTIFBASE=	/usr/X11R6
  # Where Motif is installed on the system.
  # Possible: any path
  # Default: /usr/X11R6
  
! #DISTDIR=	${PKGSRCDIR}/distfiles
  # Directory where original distribution
  # files are stored.
  # Possible: any path you like
--- 149,166 ----
  # Possible: any path
  # Default: ${LOCALBASE}/cross
  
! X11BASE=	/usr/X11
  # Where X11 is installed on the system.
  # (and the default install path of X11 pkgs)
  # Possible: any path
  # Default: /usr/X11R6
  
! MOTIFBASE=	/usr/X11
  # Where Motif is installed on the system.
  # Possible: any path
  # Default: /usr/X11R6
  
! DISTDIR=	${PKGSRCDIR}/distfiles
  # Directory where original distribution
  # files are stored.
  # Possible: any path you like
***************
*** 101,107 ****
  # Possible: defined, not defined
  # Default: not defined
  
! #PATCH_FUZZ_FACTOR?=
  # Fuzz factor to use when applying patches.  Will only be applied when
  # using a patch(1) that understands -F.  This should be a "?="
  # setting, since package Makefiles may set this value, before
--- 189,195 ----
  # Possible: defined, not defined
  # Default: not defined
  
! PATCH_FUZZ_FACTOR?=-F3
  # Fuzz factor to use when applying patches.  Will only be applied when
  # using a patch(1) that understands -F.  This should be a "?="
  # setting, since package Makefiles may set this value, before
***************
*** 109,115 ****
  # Possible: "-Fn" where n is a number, none
  # Default: none
  
! #ACCEPTABLE_LICENSES=	shareware no-commercial-use no-profit fee-based-commercial-use
  # Whitespace-delimited list of the types of license which are
  # acceptable for installation.  (apart from standard "free" licenses
  # such as Berkeley/CMU and GPL).
--- 197,203 ----
  # Possible: "-Fn" where n is a number, none
  # Default: none
  
! ACCEPTABLE_LICENSES=	shareware no-commercial-use no-profit fee-based-commercial-use
  # Whitespace-delimited list of the types of license which are
  # acceptable for installation.  (apart from standard "free" licenses
  # such as Berkeley/CMU and GPL).
***************
*** 148,154 ****
  # Possible: any combination of packages
  # Default: not set
  
! #EXTRACT_USING_PAX=
  # Use pax(1) to extract archives, rather than GNU tar.
  # Possible: defined, not defined
  # Default: not defined
--- 236,242 ----
  # Possible: any combination of packages
  # Default: not set
  
! EXTRACT_USING_PAX=true
  # Use pax(1) to extract archives, rather than GNU tar.
  # Possible: defined, not defined
  # Default: not defined
***************
*** 216,222 ****
  # Possible: yes, no
  # Default: yes 
  
! #SMART_MESSAGES=yes
  # Display the make(1) target, and the current stack of packages being built,
  # when displaying messages during package builds.
  # Possible: defined, not defined
--- 304,310 ----
  # Possible: yes, no
  # Default: yes 
  
! SMART_MESSAGES=yes
  # Display the make(1) target, and the current stack of packages being built,
  # when displaying messages during package builds.
  # Possible: defined, not defined
***************
*** 226,238 ****
  #	Definitions used only in the packages collection
  #
  
! #AMANDA_USER=	backup
  # Used in the amanda packages to specify the login user and group
  # responsible for backups
  # Possible: any user name
  # Default: backup
  
! #AMANDA_SMB=
  # Used in the amanda-client package to enable backup with smbclient
  # Possible: defined, not defined
  # Default: not defined
--- 314,326 ----
  #	Definitions used only in the packages collection
  #
  
! AMANDA_USER=	backup
  # Used in the amanda packages to specify the login user and group
  # responsible for backups
  # Possible: any user name
  # Default: backup
  
! AMANDA_SMB=
  # Used in the amanda-client package to enable backup with smbclient
  # Possible: defined, not defined
  # Default: not defined
***************
*** 264,270 ****
  # Possible: defined, not defined
  # Default: not defined
  
! #DEFAULT_IRC_SERVER=
  # Used in ircII to set the default irc server. 
  # Possible: see the list at
  # http://www.irchelp.org/irchelp/networks/servers/efnet.html
--- 352,358 ----
  # Possible: defined, not defined
  # Default: not defined
  
! DEFAULT_IRC_SERVER=irc.concentric.net
  # Used in ircII to set the default irc server. 
  # Possible: see the list at
  # http://www.irchelp.org/irchelp/networks/servers/efnet.html
***************
*** 385,391 ****
  # Possible: 4, 5, not defined
  # Default: not defined
  
! #KERMIT_SUID_UUCP
  # If set to YES or yes, install kermit binary set-uid uucp. Permits an 
  # unprivileged user to access the serial ports, with default permissions
  # on the /dev/tty0* special files.
--- 473,479 ----
  # Possible: 4, 5, not defined
  # Default: not defined
  
! KERMIT_SUID_UUCP=YES
  # If set to YES or yes, install kermit binary set-uid uucp. Permits an 
  # unprivileged user to access the serial ports, with default permissions
  # on the /dev/tty0* special files.
***************
*** 469,475 ****
  # Possible: any editor.
  # Default: more
  
! #NS_ENCRYPTION=	us
  # Used to decide if export or US version of Netscape should be
  # installed.
  # Possible: export, us
--- 557,563 ----
  # Possible: any editor.
  # Default: more
  
! NS_ENCRYPTION=	us
  # Used to decide if export or US version of Netscape should be
  # installed.
  # Possible: export, us
***************
*** 584,596 ****
  # Possible: defined, not defined
  # Default: not defined
  
! #USE_IDEA=	NO
  # Used in speakfreely and ssh to choose whether to compile using
  # the patented IDEA encryption algorithm.
  # Possible: YES, or NO.
  # Default: package-dependent
  
! #USE_INET6=
  # Enable IPv6 support on certain packages.  It is safer to leave it undefined
  # in mk.conf and obey the default.  Reasons:
  # - it is just fine to use IPv6-ready packages on top of non-IPv6 kernel
--- 672,684 ----
  # Possible: defined, not defined
  # Default: not defined
  
! USE_IDEA=	YES
  # Used in speakfreely and ssh to choose whether to compile using
  # the patented IDEA encryption algorithm.
  # Possible: YES, or NO.
  # Default: package-dependent
  
! #USE_INET6=YES
  # Enable IPv6 support on certain packages.  It is safer to leave it undefined
  # in mk.conf and obey the default.  Reasons:
  # - it is just fine to use IPv6-ready packages on top of non-IPv6 kernel
***************
*** 640,646 ****
  # Possible: not defined, YES
  # Default: not defined
  
! #WINDOWMAKER_OPTIONS=
  # Options for building windowmaker package Used to add support for
  # GNOME, KDE or OPEN LOOK(tm) and to avoid redundancies with KDE.
  # Possible: gnome, kde, openlook, lite
--- 728,734 ----
  # Possible: not defined, YES
  # Default: not defined
  
! WINDOWMAKER_OPTIONS=gnome
  # Options for building windowmaker package Used to add support for
  # GNOME, KDE or OPEN LOOK(tm) and to avoid redundancies with KDE.
  # Possible: gnome, kde, openlook, lite
***************
*** 652,658 ****
  # Possible: see http://wm.themes.org/
  # Default: FreeBSD-theme
  
! #XAW_TYPE=standard
  # Used in various packages to specify that libXaw is used.
  # Possible: standard, 3d, xpm
  # Default: standard
--- 740,746 ----
  # Possible: see http://wm.themes.org/
  # Default: FreeBSD-theme
  
! XAW_TYPE=3d
  # Used in various packages to specify that libXaw is used.
  # Possible: standard, 3d, xpm
  # Default: standard


				--*greywolf;
--
BSD: "Progress on your system is closer than it appears."