The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.97: 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.96: preferred, colored
Changes since revision 1.96: +1 -2 lines
mk: Remove _OPSYS_HAS_OSSAUDIO, use oss.buildlink3.mk/OSS_TYPE

"please remove it" wiz@

Revision 1.96: 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.95: preferred, colored
Changes since revision 1.95: +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.95: download - view: text, markup, annotated - select for diffs
Sat Mar 16 22:55:42 2024 UTC (2 years, 8 months 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
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -1 lines
mk: Introduce a OPSYS_HAS_SENDFILE feature flag

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Nov 29 17:13:47 2023 UTC (2 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3 lines
mk: Support Arch Linux lib64 directories.

Reported by zagreus on IRC.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Nov 15 14:14:09 2023 UTC (3 years ago) by nia
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -1 lines
mk/platform: Introduce a new OPSYS_HAS_POSIX_SPAWN variable.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu May 18 00:04:26 2023 UTC (3 years, 6 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
Spaces to tabs.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Sep 27 08:46:33 2022 UTC (4 years, 1 month ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1 lines
mk: Enable mktools on supported platforms.

The default is now auto detection, which will enable mktools on platforms that
have set _OPSYS_SUPPORTS_MKTOOLS.  Users can still override either way via
PKGSRC_USE_MKTOOLS.

Please add and enable on other platforms once they have been verified.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun May 1 08:10:11 2022 UTC (4 years, 6 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -1 lines
mk/Linux: nologin is in /usr/sbin on debian

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun May 1 08:03:41 2022 UTC (4 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +32 -16 lines
mk: Initial support for NixOS (Linux variant)

A particular challenge for pkgsrc on NixOS is that it usurps all
Unix conventions and stores its system binaries and libraries in
a crazy system of hashed sub-directories:

$ which ls
/run/current-system/sw/bin/ls
$ ls -l /run/current-system/sw/bin/ls
Lrwxrwxrwx 1 root root 65 Jan  1  1970 /run/current-system/sw/bin/ls -> /nix/store/xs02fpnpkq
frhqqfsxx3lpj48wrapd00-coreutils-8.32/bin/ls

We can make a "best effort" attempt to accomodate this by invoking
the compiler to figure out where libc is.  In general, it's required to
adjust the Linux files to make fewer assumptions about the layout of the
filesystem.

However, since using a compiler and libc from NixOS results in /nix/store
paths being embedded in binaries, running the NixOS "garbage collector"
can result in binaries installed from pkgsrc becoming unusable.  Use with
care:

$ readelf -a ~/pkg/bin/perl | grep nix
      [Requesting program interpreter: /nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32
-39/lib/ld-linux-aarch64.so.1]
 0x000000000000001d (RUNPATH)            Library runpath: [/home/nia/pkg/lib:/home/nia/pkg/li
b/perl5/5.32.0/aarch64-linux/CORE:/nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32-39/l
ib:/nix/store/vv9nz0bwv1pfl70w14k7dgz6yx7hjwxk-gcc-9.3.0-lib/lib]

Apparently, the "stdenv.cc" package must be installed prior to
bootstrapping pkgsrc.

I worked on this patch last year for a friend who wanted to test
something on pkgsrc but had no other system available.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Feb 10 21:22:44 2022 UTC (4 years, 9 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -1 lines
Fix GLIBC_VERSION detection on Manjaro ARM (so that devel/gettext-tools
passes PLIST checks) and probably other Arch Linux too.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Nov 14 14:47:11 2021 UTC (5 years ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +8 -3 lines
On Linux with glibc, if libc.so.6 isn't executable, glean GLIBC_VERSION
via ldd instead. Noticed when devel/gettext-tools failed PLIST check on
Ubuntu/aarch64 21.10. NFCI for musl libc.

Revision 1.86: 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.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.

Requested by jperkin.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Nov 9 11:05:07 2021 UTC (5 years ago) by nia
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -1 lines
mk: Create per-platform PKG_HAVE_EVENTFD and PKG_HAVE_TIMERFD variables.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Dec 13 16:26:12 2020 UTC (5 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -1 lines
platform/Linux: always prefer native pthread/libdl

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Jan 28 08:38:47 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
mk/platform/Linux: fix detection of GLIBC_VERSION on Debian

Running "/lib/x86_64-linux-gnu/libc.so.6 --version" on Debian unstable
inside WSL says:

GNU C Library (Debian GLIBC 2.29-9) stable release version 2.29.

In this case, there is a simple period, not a comma after the version
number.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jan 24 12:36:28 2020 UTC (6 years, 9 months ago) by nia
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -7 lines
mk/platform/Linux.mk: Use _OPSYS_LIB_DIRS to find glibc paths.

This seems more correct as it handles Debian/others already.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jan 24 12:32:21 2020 UTC (6 years, 9 months ago) by nia
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +9 -4 lines
mk/platform/Linux.mk: Fix glibc detection on Debian.

Problem identified and patch reviewed/tested by gutteridge, thanks

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jan 24 18:40:56 2019 UTC (7 years, 9 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +7 -1 lines
Linux.mk: provide default LIBABISUFFIX for aarch64

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Jan 9 13:19:03 2019 UTC (7 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Add RELRO support for clang, based on the gcc logic.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Nov 21 19:16:47 2017 UTC (8 years, 11 months ago) by bsiegert
Branches: MAIN
CVS tags: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +6 -1 lines
Add /usr/local for include and libdir on ChromeOS.

Third-party (i.e. non-pkgsrc) C toolchains (I am using chromebrew)
install to /usr/local, as that is where you can have write access.
With this, a bootstrap on ChromeOS finishes successfully.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Oct 3 13:18:00 2017 UTC (9 years, 1 month ago) by jperkin
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -1 lines
mk: Disable SSP checks on systems where it is provided in libc.

The currently implementation of SSP checks simply look for a DT_NEEDED
dependency on libssp, and doesn't yet have a way to check for it being
enabled when it is done via libc.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Aug 4 08:59:20 2017 UTC (9 years, 3 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -2 lines
Disable fortify on Linux when optimisation is not enabled, it is not
supported in that configuration and warnings are issued from the system
headers.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Jun 9 17:21:53 2017 UTC (9 years, 5 months ago) by khorben
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -1 lines
Register support for RELRO on Linux (limited to x86 first)

Tested on Debian GNU/Linux 8.8 (amd64).

Actual support will depend on the underlying distribution though.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jun 9 17:04:18 2017 UTC (9 years, 5 months ago) by khorben
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +7 -1 lines
Register support for SSP on Linux (limited to x86 first)

Tested on Debian GNU/Linux 8.8 (amd64).

Actual support will depend on the underlying distribution though.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jun 9 16:56:26 2017 UTC (9 years, 5 months ago) by khorben
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -1 lines
Register support for FORTIFY on Linux

Tested on Debian GNU/Linux 8.8 (amd64).

Actual support will depend on the underlying distribution though.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Feb 1 10:00:17 2017 UTC (9 years, 9 months ago) by sevan
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
MACHINE_ARCH is set to powerpc64le during bootstrap, adjust if statement to
check for new value.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Feb 1 07:25:28 2017 UTC (9 years, 9 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +14 -14 lines
Indent conditionals to improve legibility.  No functional change.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Feb 1 03:00:35 2017 UTC (9 years, 9 months ago) by sevan
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -1 lines
Add ppc64le paths from the Debian/Ubuntu multiarch hierarchy.
Tested on Ubuntu for POWER8.
Thanks to John Klos.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Oct 27 10:31:06 2016 UTC (10 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -1 lines
Add support for enabling cwrappers automatically.  USE_CWRAPPERS now defaults
to "auto", which will enable cwrappers if the _OPSYS_SUPPORTS_CWRAPPERS
platform variable is set to "yes".

Switch over to cwrappers by default for Darwin, Linux, and SunOS (except when
using the sunpro compiler).

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Sep 17 05:41:37 2016 UTC (10 years, 2 months ago) by richard
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -4 lines
set LIBABISUFFIX to /aarch64-linux-gnu for arm64
simplifies _OPSYS_SYSTEM_RPATH and _OPSYS_LIB_DIRS
permitting lots of stuff using LIBABISUFFIX to work now.

TODO: probably similar for the armv7 platforms as
the pattern '${MACHINE_ARCH}-${LOWER_OPSYS}-gnu${APPEND_ABI}'
seems like it should work for both.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Aug 24 05:31:20 2016 UTC (10 years, 2 months ago) by richard
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -1 lines
Add experimental aarch64 support (amlogic s905 under ubuntu)

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Mar 17 16:02:23 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Since the MACHINE_ARCH cleanup, the bootstrap for i386-on-x86_64 Linux has
been broken due to NATIVE_MACHINE_ARCH no longer being set to x86_64.  Fix
this by introducing HOST_MACHINE_ARCH which refers to the underlying host
architecture rather than bmake's native architecture, thus differentiating
between cross-compiling and multilib.

This is currently only set on Linux as the only OPSYS which currently
requires such a test, but can be expanded to other OPSYS as necessary.

Revision 1.65: 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
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +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.64: download - view: text, markup, annotated - select for diffs
Wed Nov 18 22:30:12 2015 UTC (11 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Ensure building 32-bit on 64-bit is supported when using cwrappers too.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jul 18 15:08:43 2015 UTC (11 years, 4 months ago) by wiedi
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -1 lines
Detect arm-linux-gnueabihf correctly

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri May 8 20:28:30 2015 UTC (11 years, 6 months ago) by sevan
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -1 lines
For 64bit little endian PowerPC hosts running Linux
Set the ABI to 64 bit
Define the suffix appended to the locations in the library search path

Reviewed by bsiegert@

Revision 1.61: 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.60: preferred, colored
Changes since revision 1.60: +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.60: download - view: text, markup, annotated - select for diffs
Fri Mar 7 15:03:15 2014 UTC (12 years, 8 months ago) by jperkin
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
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -1 lines
When building 32-bit packages on x86_64 GNU ld isn't smart enough to
figure out the target architecture based on the objects so we need to
explicitly set it.

This allows bootstrap --abi=32 to complete successfully on x86_64.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Feb 20 11:03:09 2014 UTC (12 years, 8 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -4 lines
Prefer the native libexecinfo implementation by default.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Feb 20 10:52:33 2014 UTC (12 years, 8 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Prefer the native libinotify implementation by default.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Feb 19 17:20:23 2014 UTC (12 years, 8 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -2 lines
Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jul 23 13:01:05 2013 UTC (13 years, 3 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
Fix typo.
libossaudio is unavailable.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri May 17 03:40:02 2013 UTC (13 years, 6 months ago) by dsainty
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -3 lines
Fix a pasting botch in v1.54 that killed Linux i386

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat May 11 23:56:24 2013 UTC (13 years, 6 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +18 -1 lines
On Debian/Ubuntu Linux, set system's library path as Debian's multiarch
hierarchy.
This values should be generated from output of some commands,
but I cannot find the rule.
Tested on armel and x86_64 Debian GNU/Linux environment.
The values are shown in http://wiki.debian.org/Multiarch/Tuples .

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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Apr 23 08:14:36 2012 UTC (14 years, 6 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
The path to libc.so.6 needs to include ${LIBABISUFFIX}.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 07:41:24 2012 UTC (14 years, 7 months ago) by spz
Branches: pkgsrc-2012Q1
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +2 -2 lines
Pullup ticket #3725 - requested by sbd
mk/platform/Linux.mk: bug fix

Revisions pulled up:
- mk/platform/Linux.mk                                          1.50

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Mon Apr  9 04:19:25 UTC 2012

   Modified Files:
   	pkgsrc/mk/platform: Linux.mk

   Log Message:
   Oops I had the sense inverted for NOGCCERROR.


   To generate a diff of this commit:
   cvs rdiff -u -r1.49 -r1.50 pkgsrc/mk/platform/Linux.mk

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Apr 9 04:19:24 2012 UTC (14 years, 7 months ago) by sbd
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
Oops I had the sense inverted for NOGCCERROR.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Mar 19 12:34:17 2012 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base
Branch point for: pkgsrc-2012Q1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -19 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.48: download - view: text, markup, annotated - select for diffs
Mon Mar 5 07:53:42 2012 UTC (14 years, 8 months ago) by sbd
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +6 -1 lines
If NOGCCERROR is defined pass it to the make process.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jan 22 08:40:11 2012 UTC (14 years, 9 months ago) by sbd
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -2 lines
Remove GNU_CONFIGURE_LIBDIR setting on x86_64-linux systems, setting this
for all packages that use GNU_CONFIGURE causes to many packages to break.

Packages that need the libdir passed to them will need to be handled one
at a time.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jan 17 21:10:24 2012 UTC (14 years, 10 months ago) by sbd
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
Add the GNU_CONFIGURE_LIBDIR variable, if defined it will be passed to gnu
configure scripts as the value of --libdir.

On Linux x86_64 set GNU_CONFIGURE_LIBDIR to ${GNU_CONFIGURE_PREFIX}/lib,
this will stop package trying to install into ${PREFIX}/lib64.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Oct 31 23:22:59 2011 UTC (15 years ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
Add LIBC_BUILTINS platform definition to Linux.

Designed to be used in mk.conf like so:
PREFER_PKGSRC= yes
PREFER_NATIVE= ${LIBC_BUILTINS}

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Oct 15 03:15:37 2011 UTC (15 years, 1 month ago) by sbd
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Change the X11_TYPE conditional to work with the switch in the default
X11_TYPE to modular.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 22 15:17:53 2011 UTC (15 years, 2 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3 lines

Pass a maximum command line length to "configure" script on Linux.
PR 45274 by Emmanuel Kasper

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed May 11 12:46:20 2011 UTC (15 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
NOLOGIN=/sbin/nologin for SSD/Linux.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Mar 20 09:00:08 2011 UTC (15 years, 8 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -1 lines
/usr/bin/su for SSD/Linux.

Revision 1.40: 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-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +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.39: download - view: text, markup, annotated - select for diffs
Thu May 20 07:57:23 2010 UTC (16 years, 6 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -1 lines
On Linux systems record the glibc version in the build information.

OKed by wiz@

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun May 16 06:59:26 2010 UTC (16 years, 6 months ago) by sbd
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2 lines
Use mk/check/check-shlibs-elf.awk for the run-time search-path check on
linux.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Mar 18 22:46:01 2010 UTC (16 years, 8 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
imake should only ever use gmake if ${X11_TYPE}==native.  Pointed out by joerg@
Fixes PR 42274

OK wiz@

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Feb 13 08:29:12 2010 UTC (16 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -1 lines
for SSD/Linux, /usr/bin/false, not /bin/false.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jan 16 02:16:35 2010 UTC (16 years, 10 months ago) by obache
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -1 lines
Add support of SSD/Linux.
 * ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools

Revision 1.34: 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-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +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.33: 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.32: preferred, colored
Changes since revision 1.32: +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.32: download - view: text, markup, annotated - select for diffs
Sat Jan 12 22:44:10 2008 UTC (18 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -1 lines
Only force gmake for imake on Linux, if using native implementation.

Revision 1.31: 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.30: preferred, colored
Changes since revision 1.30: +8 -7 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.30: 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.29: preferred, colored
Changes since revision 1.29: +8 -9 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.29: download - view: text, markup, annotated - select for diffs
Sun Jul 29 05:19:44 2007 UTC (19 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
* Add new emulator framework in pkgsrc/mk/emulator that handles all
  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

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

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Nov 18 07:48:06 2006 UTC (20 years ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, jlam-pkgviews-base, jlam-pkgviews
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1 lines
Added an empty line to make "make help topic=ABI" work better.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Oct 6 14:28:46 2006 UTC (20 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -3 lines
Always use LOCALBASE setting from mk/defaults/mk.conf.
Setting it with ?= in the platform files is a nop anyway.

Revision 1.25: 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-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +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.5.2.6
Wed Jun 7 15:25:39 2006 UTC (20 years, 5 months ago) by tv
Branches: tv-derecurse
FILE REMOVED
Changes since revision 1.5.2.5: +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.24: 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.23: preferred, colored
Changes since revision 1.23: +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.23: 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.22: preferred, colored
Changes since revision 1.22: +1 -9 lines
Remove leftover code sections guarded by _USE_PLIST_MODULE which was
mainlined long ago.

Revision 1.22: 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.21: preferred, colored
Changes since revision 1.21: +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.21: download - view: text, markup, annotated - select for diffs
Tue Jan 10 16:58:04 2006 UTC (20 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Also set ABI like SGI does; from Benjamin Shi.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jan 6 22:47:24 2006 UTC (20 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1 lines
set the LIBABISUFFIX to 64 for amd64...

Revision 1.19: 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.18: preferred, colored
Changes since revision 1.18: +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.18: 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.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Fix typo.

Revision 1.17: 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.16: preferred, colored
Changes since revision 1.16: +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.16: download - view: text, markup, annotated - select for diffs
Tue Jun 14 07:12:23 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Make IMAKE_TOOLS into a publicly-readable variable so that it can be
used by pkgtools/xpkgwedge.

Revision 1.15: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf.

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

Revision 1.5.2.5: 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.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.4: +14 -11 lines
sync [all but bsd.pkg.mk] with HEAD

Revision 1.13: 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.12: preferred, colored
Changes since revision 1.12: +13 -10 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.12: 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.11: preferred, colored
Changes since revision 1.11: +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.11: download - view: text, markup, annotated - select for diffs
Mon May 2 21:10:02 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
* Push the imake- and xmkmf-handling into the new tools framework.

* Get rid of an explicit check for ${_IMAKE_MAKE} == ${GMAKE} in
  bsd.pkg.mk to check for whether we need to depend on gmake or not.
  Instead, we now note in Linux.mk that packages that need imake will
  also need to use gmake by setting _IMAKE_TOOLS+=gmake.

* Push the definition of MAKE_PROGRAM from bsd.pkg.mk into make.mk where
  it's closer to related code.

Revision 1.5.2.4: 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.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +3 -5 lines
sync with HEAD

Revision 1.10: 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.9: preferred, colored
Changes since revision 1.9: +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.5.2.3: download - view: text, markup, annotated - select for diffs
Fri Feb 25 14:46:51 2005 UTC (21 years, 8 months ago) by tv
Branches: tv-derecurse
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +5 -1 lines
sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 17 20:03:26 2005 UTC (21 years, 9 months ago) by reed
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -1 lines
If /bin/id exists, then use it for ID else use /usr/bin/id.
Mandrake Linux 10.1 as used by A L Meyers has /bin/id.
This should fix his PR #pkg/29430 and #29431.

Revision 1.5.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.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +1 -4 lines
sync with HEAD

Revision 1.8: 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.7: preferred, colored
Changes since revision 1.7: +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.7: 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.6: preferred, colored
Changes since revision 1.6: +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.5.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.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 29 23:19:43 2004 UTC (21 years, 10 months ago) by minskim
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Use GNU make on Linux when USE_IMAKE=yes, because Makefile generated
by imake on Linux requires GNU make.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 16 18:04:00 2004 UTC (22 years ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Branch point for: tv-derecurse
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 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.4: 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.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
CPP_PRECOMP_FLAGS is a Darwinism only.  Move its frobbing of CPPFLAGS to
platform/Darwin.mk (simplification).

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 15 14:48:18 2004 UTC (22 years ago) by tv
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out is
not being used by pkgsrc at all.  This saves some build time in
show-shlib-type.

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>