Commit graph

96 commits

Author SHA1 Message Date
js
d224d1e96f Fix bootstrap on QNX
Tested with QNX 6.5.0SP1.

Two things were needed:

 * bootstrap needs to export ACCEPT_INFERIOR_RM_PROGRAM=yes on QNX,
   because libarchive checks for "rm -f" (with no arguments) working in
   configure. It doesn't seem to actually use it during the build, so
   this works.
 * QNX.sys.mk sets LORDER to echo, but sets TSORT to tsort -q. This
   results in tsort complaining about having an uneven number of inputs,
   since of course there are no dependency pairs.
   Hence, if LORDER is overridden to echo, TSORT also needs to be
   overridden to cat. Interestingly, Linux.sys.mk also sets LORDER=echo
   and TSORT=tsort -q, so it's surprising this isn't broken as well?
2020-08-29 20:11:21 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
sevan
b964779078 All Minix supported platforms are ELF.
Confirmed with bsd.own.mk in Minix 3.4RC6 base.
2018-11-15 00:50:44 +00:00
sevan
fab9b3d9db Minix does support shared libraries (tested on 3.4RC6). 2018-11-13 21:06:48 +00:00
tnn
6209732ca1 bootstrap-mk-files: Add aarch64 to get correct OBJECT_FMT. Bump to 20180901 2018-09-01 21:56:04 +00:00
rillig
c77d3c5335 pkgtools/*: Realign variables in Makefiles
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27 19:07:46 +00:00
maya
39b6e54aaa Remove -Werror from bootstrap path. It makes the cwrappers build
fail unnecessarily on some edge cases such as older glibc.

PR pkg/52390: current fails to bootstrap on CentOS 6

ok pkgsrc-pmc@
2017-08-02 09:38:06 +00:00
joerg
f927905a3c bootstrap-mk-files-20160908:
Unless a platform explicitly sets DBG, default to -O2 on all
architectures. Most importantly, don't default to unoptimized builds
on AMD64.
2016-09-08 14:28:12 +00:00
jperkin
de194647b7 Update bootstrap-mk-files to 20160411. Changes:
* Default to MKCATPAGES=no if mandoc is available on newer SunOS.
2016-04-11 12:37:48 +00:00
jperkin
20ac324a6b Add LICENSE (original-bsd). 2016-01-28 13:39:44 +00:00
dholland
2984cb92af Per PR 43356, remove references to rules for 'make subdir' for any
subdir in SUBDIRS, as that feature was removed in 1999.

Bump package date to 20150908 as this is a change, even if it's a
fairly minor change.
2015-09-08 04:41:04 +00:00
sevan
b92680fda1 We currently detect $MACHINE_ARCH on OpenBSD/amd64 & Bitrig/amd64 as amd64.
Bitrig uses ELF on amd64 & arm and does not have any legacy dependency on a.out.
Remove if statement to check $MACHINE_ARCH is x86_64 in-order to set $OBJECT_FMT
to ELF, preventing $OBJECT_FMT being set to a.out by mistake.

Reviewed by joerg@
2015-09-07 15:07:54 +00:00
sevan
0efda134b9 Remove references to a.out.
Add the necessary PIC flags for ELF shared libraries which is now assumed by default.

Reviewed by joerg@ wiz@
2015-09-04 11:50:47 +00:00
jperkin
d376915bde Update bootstrap-mk-files to 20150831. Changes:
* Reduce unnecessary diffs in Darwin, Linux, and SunOS mods.

  * Sync WARNS flags on SunOS.

  * Remove obsolete modifications to bsd.sys.mk and sys.mk on Darwin.  This
    primarily brings in PROG_CXX support.

Tested in bulk builds on all modified platforms.
2015-08-31 09:03:19 +00:00
sevan
bec87d2284 x86_64 is not referenced anywhere in the file, comment appears above if
statement regarding sparc64. s/x86_64/sparc64.
2015-08-29 21:59:18 +00:00
ryoon
baf6bccb13 Revert generic part.
Requested by jperkin@ and joerg@.
2015-07-04 12:33:36 +00:00
ryoon
3335bab482 Update to 20150704
* Improve QNX support.
  From Jan Danielsson.
2015-07-04 07:19:08 +00:00
joerg
2b310ad796 Do not add -Werror or -Wno-error in sys.mk, it is the generic ruleset
included everywhere.
2015-06-11 09:20:55 +00:00
ryoon
ac93782508 Ride previous version bump.
My previous commit is wrong.
From share/mk/bsd.README of NetBSD src/:

NOGCCERROR      If defined, prevents passing certain ${CFLAGS} to GCC
                that cause warnings to be fatal, such as:
                        -Werror -Wa,--fatal-warnings
                (The latter being for as(1).)

In !defined(NOGCCERROR) case, -Werror should be passed to CFLAGS.
This change may break many packages.
2015-06-04 17:11:33 +00:00
ryoon
10223677c6 Update to 20150605
* If NOGCCERROR is not defined, add -Wno-error to CFLAGS instead of -Werror.
  NOGCCERROR means 'do not treat warnings as errors'.
2015-06-04 16:38:10 +00:00
sevan
8514571a7a Introduce preliminary support for Bitrig to pkgsrc
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig

Reviewed by bsiegert@ joerg@ wiz@
2015-06-04 15:48:45 +00:00
riastradh
acc80b2090 On NetBSD, earm is always elf.
Someone^TM should adjust this to reflect the fact that NetBSD >=1.5
or whatever is always ELF, but I'll leave that for someone else to
deal with.
2015-02-14 04:46:50 +00:00
bsiegert
af85f266f9 Do not use gcc-specific compiler flags on Mac OS versions that come with
clang. Update version for bootstrap-mk-files.

Patch provided by Todd Kover in PR pkg/48966.
2014-11-22 16:32:13 +00:00
ryoon
38cacaff11 Update to 20140516
Fix PR pkg/48793: Use cc as linker instead of ld under OpenBSD.
Fix undefined __guard_local in devel/libexecinfo.
2014-05-16 13:13:21 +00:00
ryoon
c621ee7505 Update to 20140510
Fix PR pkg/48793: treat OpenBSD 5.4 or later as ELF platform
Patch from obache@, thank you.
2014-05-10 23:01:26 +00:00
ryoon
3ee5e7173f Update to 20140314
* Add SCO OpenServer 5.0.7/3.2 support
2014-03-14 22:03:16 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
dholland
029d2667e9 Add support for PROGS (not just PROG) more or less like in the current
NetBSD make library. Bump version (to 20131207, which was when I wrote
this.) Fixes the build of multimedia/bsdav.

Note: this is not a merge from NetBSD HEAD, but a minimal
reimplementation of the feature to get the job done.

These make templates really need to be merged with or replaced by the
latest versions from NetBSD HEAD. Anyone embarking on such a merge
should probably revert this change (which is only to bsd.prog.mk)
before doing so.

No objection after 3+ weeks on tech-pkg.
2013-12-31 19:10:20 +00:00
jperkin
5c6e705850 Use the compiler front-end to generate shared libraries on OSX - the
native linker uses different arguments compared to GNU ld.  Fixes various
builds.

Bump version to 20131025.
2013-10-25 13:53:03 +00:00
jperkin
8196793d1e bootstrap-mk-files-20130912: Fix catman pages on SunOS.
Introduce a modified bsd.own.mk on SunOS which enables MKCATPAGES by
default, and a modified bsd.man.mk which correctly installs catman
pages with a section suffix rather than a blanket '.0'.

This allows the SunOS man(1) to find the catman pages correctly.
2013-09-12 10:56:36 +00:00
ryoon
01bd63e51a Update to 20130908
* Add FreeMiNT support. This file is needed for bootstrapping pkgsrc.
2013-09-08 16:27:23 +00:00
jperkin
b46f5fa604 bootstrap-mk-files-20130830: Use bsdinstall on SunOS by default. 2013-08-30 14:47:29 +00:00
ryoon
4a0907cc4d Add (Debian) GNU/kFreeBSD port.
Similar to GNU/Linux.

Bump bootstrap-mk-files to 20130727.
2013-07-26 09:38:15 +00:00
jperkin
b83d254dc0 Increase default SunOS compiler flags to -O2 to match most other systems.
Bump PKGVERSION to today's date.
2013-07-03 11:34:27 +00:00
jperkin
a8acbb58b8 Use `` instead of $(), fixes bootstrap on older SunOS versions which have
the legacy /bin/sh.

Fix from asau.
2013-03-18 11:24:42 +00:00
asau
269e6f18d5 Help people using mk files outside pkgsrc, provide saner default values. 2013-02-23 23:52:32 +00:00
obache
1baed264ee Add Cygwin support, mainly borrowed from Interix's one. 2013-02-10 06:15:52 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
obache
a1a2f48efd Update to 20120415.
Rewrite OpenBSD.bsd.man.mk, based on current NetBSD.bsd.man.mk and changed to
use mandoc.
Fixes manual pages installation with packages using USE_BSD_MAKEFILE=yes
on OpenBSD-5.0.
2012-04-15 13:03:11 +00:00
sbd
7e12f61928 Mirror two changes from the NetBSD mk-files.
1) Stop building catpages by default.
2) Derive MANINSTALL from MKCATPAGES.

Bump package version.
2012-03-05 07:26:37 +00:00
hans
03fa692c58 Don't depend on /usr/ucb/install on SunOS, use ${PREFIX}/bin/install-sh. 2012-02-15 15:30:25 +00:00
joerg
bc33260ee1 Don't disable builtins for GCC. 2011-12-05 22:40:21 +00:00
dholland
161fe78ad0 Propagate a fix from NetBSD base bsd.lib.mk: if SHLIB_FULLVERSION is
the same as SHLIB_MAJOR, don't try to symlink SHLIB_MAJOR. Otherwise
you lose the library and get a symlink pointing to itself, and things
fail later with ELOOP.

Fixes builds of packages that use bsd.lib.mk for shared libraries and
set only a major version number.
2011-11-26 15:54:43 +00:00
tcort
2b50f16fbb Add Minix specific Makefiles to bootstrap-mk-files. PR pkg/45045 2011-11-06 21:01:30 +00:00
sbd
98aee4d22c Move the NOGCCERROR. When using '+=' on a make variable it must come
_after_ '?=' is used on that variable.

Bump PKGREVISION
2011-10-31 23:41:21 +00:00
wiz
26b00a1a70 Add support for groff-1.18. From norc on pkgsrc-users. 2011-10-30 22:12:45 +00:00
cheusov
d20e57b0a5 IRIX: Set CPP to '${CC} -E' by default (old value is 'CC -E').
This fixes bootstrap failure on IRIX with MIPSPro C compiler when
   MIPSPro C++ is not available. Approved by wiz@
2011-08-29 10:43:35 +00:00
obache
9ee7d428d7 Fixes bsd.own.mk handling in bootstrap.sh script to same as pkg's Makefile.
PR#45061.
2011-06-17 11:00:36 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
ghen
4cbbfc22d5 Fix the fix for Arch Linux 2011-01-17 15:12:46 +00:00