The NetBSD Project

CVS log for pkgsrc/mk/platform/OpenBSD.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / mk / platform

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Apr 12 08:36:35 2025 UTC (19 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, HEAD
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -2 lines
mk: Remove _OPSYS_HAS_OSSAUDIO, use oss.buildlink3.mk/OSS_TYPE

"please remove it" wiz@

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Feb 18 11:58:53 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -2 lines
mk: Remove _OPSYS_PERL_REQD.

It's not 2003 anymore, all platforms use the same perl, we don't support
system perl, and this saves calls to pkg_admin for every perl-using
package.

From Jonathan Perkin <jperkin@smartos.org>
via drecklypkg commit $18912d81e683c25b2fec0b7506dfbe421e5b2a90

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Nov 15 14:14:09 2023 UTC (3 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -1 lines
mk/platform: Introduce a new OPSYS_HAS_POSIX_SPAWN variable.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Nov 29 16:14:23 2021 UTC (4 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
mk: Use OPSYS_VERSION where appropriate.

Should improve readability and in some cases avoid potential failure due to
string comparisons being used.  No other functional change intended.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Nov 9 12:04:43 2021 UTC (5 years ago) by nia
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.

Requested by jperkin.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed May 31 22:55:01 2017 UTC (9 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +10 -2 lines
Move detection of shared library type into the platform file.

Only four platforms, all BSDs, need to resolve "ELF/a.out" into
either ELF or a.out.  Calculate it directly in the platform file
and return the value in ${_OPSYS_SHLIB_TYPE} and export that value
in bsd.prefs.mk as ${SHLIB_TYPE}.

Instead of requiring the file(1) tool, we can expect the base
system of those BSDs to have /usr/bin/file, so make use of it
directly.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Oct 28 09:21:08 2016 UTC (10 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -1 lines
Enable cwrappers by default on OpenBSD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Mar 10 16:58:19 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -6 lines
Remove _OPSYS_WHOLE_ARCHIVE_FLAG and _OPSYS_NO_WHOLE_ARCHIVE_FLAG, these
variables are unused and in at least one case were completely wrong anyway.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu May 21 17:15:48 2015 UTC (11 years, 5 months ago) by sevan
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -3 lines
The path to SU is correct
type is a shell builtin on the bundled OpenBSD pdksh
Remove comment as instructed by comment.
Checks performed on OpenBSD 5.7-current

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Apr 21 17:01:56 2015 UTC (11 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -1 lines
Add a new ulimit modifier for cputime. Support raising limits for
package creation.

There are very few things in pkgsrc that needs more than one hour per
process on decently fast hardware, so setting that as (soft) limit for
bulk builds avoids the infinite loops seen in some other packages. There
are a few select exceptions, i.e. flightgear-data needs more than one
hour for pkg_create when using xz. This flag allows selectively giving
those places more time without wasting resources in the broken cases.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Apr 28 12:53:56 2013 UTC (13 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1 lines
Introduce _OPSYS_LIB_DIRS and _OPSYS_INCLUDE_DIRS varables.
list of system library and header file directories.

Also add missing _OPSYS_SYSTEM_RPATH for some platforms.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Nov 19 11:34:15 2012 UTC (14 years ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Make MOTIF_TYPE_DEFAULT as motif (LGPL Motif) instead of openmotif or lesstif.
No objection on tech-pkg@.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun May 13 08:20:11 2012 UTC (14 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -1 lines
Set LD_TRACE_LOADED_OBJECTS_FMT{1,2} for OpenBSD so that output of ldd will be
expected format.

workaround of PR 38838.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 4 11:46:02 2012 UTC (14 years, 6 months ago) by obache
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -2 lines
It is possible to check shlibs on OpenBSD now.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Mar 19 12:34:18 2012 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -15 lines
Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jan 19 10:53:56 2012 UTC (14 years, 10 months ago) by obache
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -1 lines
OpenBSD-2.9 and later support kqueue(2).

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 10 16:30:02 2011 UTC (15 years, 2 months ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1 lines
From "What platforms work with X11_TYPE=native" thread on pkgsrc-users.

Based on the responses I'm going to switch the default X11_TYPE to
be modular, and override in platform/*.mk files as required. The
new values will be:

Changed - from native to modular
- FreeBSD
- FreeMiNT
- Linux

Changed - older versions switched from native to modular
- NetBSD - native for NetBSD-4 and later

Native (unchanged)  - should probably be switched to modular
- AIX
- BSDOS
- IRIX
- Interix
- MirBSD
- UnixWare

Native (unchanged)
- Darwin - for Leopard (10.5) and later
- OpenBSD.mk
- SunOS.mk

Modular (unchanged)
- DragonFly
- HPUX
- Haiku
- OSF1

I'd like to encourage anyone using X11 apps on any platforms other
than NetBSD, Darwin, DragonFly, FreeBSD, Linux, FreeMiNT, HPUX,
Haiku or OSF1 to speak up, whether they are happy with native or
having to set modular.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jul 8 04:57:36 2010 UTC (16 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -15 lines
Begin cleanup of setgid game infrastructure.

 * Introduce USE_GAMESGROUP, which causes the games user and group to
be made available.

 * Retain SETGIDGAME as an alias for USE_GAMESGROUP. Describe it as
deprecated.

 * Always define GAMES_USER, GAMES_GROUP, GAMEMODE, GAMEDIRMODE, and
GAMEDATAMODE, regardless of whether USE_GAMESGROUP is turned on or not.

 * Define these variables in defaults/mk.conf instead of separately in
every platform/*.mk file. The definitions used to be the same for each
of these platforms anyway, except for some where they were randomly
missing or commented out for no clear reason, leading to broken game
packages.

 * Handle all these variables properly when unprivileged.

 * Update the comments/documentation for these variables.

 * Describe GAMEOWN and GAMEGRP as deprecated. These need to be
retained as aliases for GAMES_USER and GAMES_GROUP respectively for
supporting packages that use bsd.*.mk but should otherwise not be
used.

 * Add GAMEDATA_PERMS and GAMEDIR_PERMS using GAMEDATAMODE and
GAMEDIRMODE respectively.

 * Fix a bug I noticed that was improperly mixing the "games" group
and "games" user.

Things this does *not* do:

 - get rid of GAMES_USER, for which there should ultimately be no need.

 - move the declaration/documentation/default value of USE_GAMESGROUP
to a suitable place. (It is currently where SETGIDGAME was, which is
suboptimal.)

 - touch any of the games, all of which need updating with at least
s/SETGIDGAME/USE_GAMESGROUP/ and probably more.

 - update the guide to explain how to handle games properly.

Also, it would be nice if using GAMES_GROUP without setting
USE_GAMESGROUP=yes caused an error but as far as I know there isn't
any particularly good way to arrange this right now.

Note that these changes may alter the build/install behavior of broken
game packages, e.g. some may silently become setgid when they weren't
before or things like that. If you run into any of this file a PR.

While one might arguably bump the PKGREVISION of all games or other
packages using any of these variables as a precaution, that seems like
a bad idea. Instead, I think I will be bumping each game once it
itself has been fixed up to do everything the right way.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jul 26 05:32:43 2009 UTC (17 years, 3 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1 lines
Get rid of an abstraction violation which has been in the tree since
March 2008. Not vital, but the previous way does not scale well/at all.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Mar 4 06:45:34 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -3 lines
+ Conditionally add GAMES_USER and GAMES_GROUP to the platform *.mk
  files.  These variables are currently usable if ${SETGIDGAME} == yes.
  These variables should be used when describing ownership of files
  and directories to the pkginstall framework, e.g.

	SPECIAL_PERMS=	bin/foogame ${GAMES_USER} ${GAMES_GROUP} 2555

+ Rename SETGID_GAME_PERMS to SETGID_GAMES_PERMS because the default
  group name is "games".

+ Define SETGID_GAMES_PERMS in terms of GAMES_USER and GAMES_GROUP so
  that these names are protected from the normal flow of unprivileged.mk.
  This fixes the +INSTALL scripts in "user-destdir" packages to
  correctly refer to the games:games instead of the user:group of the
  user that built the packages.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Oct 19 13:41:35 2007 UTC (19 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -2 lines
Reverted the last changes, which factored out some definitions that are
usually the same on the supported platforms.

The reason for having duplicate code in these files is to make it easier
to port pkgsrc to a new platform: You just have to copy one of the
existing platform files and edit the values in it. With some values
factored out, you would have to look at one more file.

Pointed out by agc@.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Oct 18 21:52:24 2007 UTC (19 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -12 lines
Factored out the parts that are common between all the supported
platforms, mainly because it wouldn't have made sense to document the
variables in one of those files, but they need to be documented
somewhere.

Added the file defaults.mk, which now serves as the reference document
which provides useful default values and _explains_ the variables.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jul 2 14:03:41 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2 lines
Remove RSH definition.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 20 20:02:23 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, jlam-pkgviews-base, jlam-pkgviews
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2 lines
Remove USE_GNU_GETTEXT from pkgsrc.  Packages generally only needed
it for plurals support, but that is already handled correctly (FSVO
"correctly") by the pkgsrc/mk/tools/msgfmt.sh script.

Also remove _USE_GNU_GETTEXT definitions from pkgsrc/mk/platform/*.mk
files as that value has been unused by pkgsrc for quite some time
(going back several branches).

Revision 1.7.2.5
Wed Jun 7 15:25:39 2006 UTC (20 years, 5 months ago) by tv
Branches: tv-derecurse
FILE REMOVED
Changes since revision 1.7.2.4: +1 -1 lines
EOL the tv-derecurse branch; it has become too outdated.  The last live
revision can be fetched at the tv-derecurse-eol tag.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 12 21:01:15 2006 UTC (20 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Add INSTALL_GAME_DIR to complement INSTALL_GAME_DATA. The directories
are group-writeable by the games user on those platforms, where
GAMEMODE includes setgid. It defaults to PKGDIRMODE otherwise.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Mar 18 21:40:45 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -9 lines
Remove leftover code sections guarded by _USE_PLIST_MODULE which was
mainlined long ago.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Jan 12 23:43:57 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -1 lines
Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from bsd.pkg.mk into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces (print-plist.mk vs.
	plist.mk).

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/foo.info entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after texinfo.mk has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by bsd.pkg.mk
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 4 01:44:30 2005 UTC (20 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -1 lines
Add IMAKE_GAMEMAN_SUFFIX and IMAKE_GAMEMAN_DIR to allow PLISTs
to pick up the correct locations.

XXX Default values are guessed, x11/xsnow can be used for testing

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 2 03:38:09 2005 UTC (21 years, 3 months ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Fix typo.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 2 00:23:31 2005 UTC (21 years, 3 months ago) by reed
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jun 1 18:14:23 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 1 14:23:07 2005 UTC (21 years, 5 months ago) by markd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
On NetBSD, OpenBSD and BSDOS imake always installs man/catN pages with
a "0" suffix.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun May 22 19:11:15 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -69 lines
Remove the old tools framework and references to _USE_NEW_TOOLS.

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Tue May 17 18:29:46 2005 UTC (21 years, 6 months ago) by tv
Branches: tv-derecurse
CVS tags: tv-derecurse-eol
Diff to: previous 1.7.2.3: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.3: +12 -10 lines
sync [all but bsd.pkg.mk] with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue May 3 18:30:12 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
CVS tags: tv-derecurse-merge
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -9 lines
First pass at converting pkgsrc to use the new tools framework (still
not on by default).  Separate out the variable defintions that are
now made by the new tools framework.  Some of the trickier platforms
(AIX, IRIX, Interix, OSF1) still need more work.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 3 15:10:59 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2 lines
Back out part of a change from revision 1.756 of bsd.pkg.mk.  It was
a mistake to include "GZIP" as an ${OPSYS}-specific variable as there
is nothing ${OPSYS}-specific there to tune.  Define GZIP in
defaults/mk.conf instead, and remove the definition from each of the
existing platform/${OPSYS}.mk files.

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 21 15:43:00 2005 UTC (21 years, 8 months ago) by tv
Branches: tv-derecurse
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.2: +3 -5 lines
sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Mar 18 18:16:35 2005 UTC (21 years, 8 months ago) by tv
Branches: MAIN
CVS tags: tv-derecurse-base, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -5 lines
Fix a gleaming illustration of why using YES/NO variables everywhere
possible, just for the sake of doing so, is not a good thing to do:

The platform files define _STRIPFLAG_* to determine whether to strip things.
But since this is included in bsd.prefs.mk, ".if ..." checks cannot take
things set in the Makefile into account.  So convert INSTALL_UNSTRIPPED=YES
to a defined/undefined variable check in bsd.pkg.mk, and use the :D:U idiom
in the _STRIPFLAG_* variables.

This should fix PR pkg/28772 and PR pkg/29031.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 11 15:27:57 2005 UTC (21 years, 9 months ago) by tv
Branches: tv-derecurse
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +1 -4 lines
sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 28 21:05:59 2005 UTC (21 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
Don't make pkgsrc depend on dc(1) to be present in the system.  Since
we already use awk so pervasively in pkgsrc, simply use awk in place
of dc for simple computations.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 25 18:15:58 2005 UTC (21 years, 9 months ago) by tv
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -4 lines
Relax need to put GNU_CONFIGURE before inclusion of bsd.prefs.mk:

Convert _OPSYS_MAX_CMDLEN to a plain _OPSYS_MAX_CMDLEN_CMD variable, which
is not evaluated by a shell until CONFIGURE_ENV is expanded (and only then
if USE_LIBTOOL+GNU_CONFIGURE are both set).

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Fri Dec 31 20:25:30 2004 UTC (21 years, 10 months ago) by tv
Branches: tv-derecurse
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -5 lines
sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 27 08:38:09 2004 UTC (21 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -1 lines
OpenBSD uses the NetBSD user/group management tools, so re-add back
support for USERADD/GROUPADD on OpenBSD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 27 06:41:50 2004 UTC (21 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -10 lines
Remove USERADD and GROUPADD definitions from OSes where the useradd
and groupadd commands won't follow the calling conventions of the
NetBSD useradd/groupadd.  Modify the INSTALL scripts to *never* create
users or groups if there is no available ${USERADD} or ${GROUPADD}
command, but will warn the user of users and groups that need to be
created before the package can be installed.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 20 04:38:09 2004 UTC (22 years ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Branch point for: tv-derecurse
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2 lines
backout cvs misfire

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 20 04:37:08 2004 UTC (22 years ago) by grant
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
add framework support for Tru64 and the Compaq C compiler.

patches provided by Tobias Nygren <tnn at netilium dot org> with
minor changes by me.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 18 04:22:39 2004 UTC (22 years ago) by xtraeme
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 16 18:04:00 2004 UTC (22 years ago) by tv
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -3 lines
Revert previous (re-add common CPP_PRECOMP_FLAGS).  For consistency, also
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Nov 16 16:21:40 2004 UTC (22 years ago) by tv
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
CPP_PRECOMP_FLAGS is a Darwinism only.  Move its frobbing of CPPFLAGS to
platform/Darwin.mk (simplification).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 13 15:31:31 2004 UTC (22 years, 1 month ago) by tv
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside
existing check for DEBUG_FLAGS.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 6 20:51:47 2004 UTC (22 years, 1 month ago) by jlam
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>