summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-mk-files
AgeCommit message (Collapse)AuthorFilesLines
2021-06-18bootstrap-mk: Remove GCC/Clang-specific warning flagsnia1-20/+1
These are leftover from the NetBSD base system where having lots of specific warning flags makes sense because the system is compiled with -Werror, but here they just cause portability problems. Reported as breaking the bootstrap on HP-UX by Lehel Bernadt on pkgsrc-users@.
2020-08-29Fix bootstrap on QNXjs1-2/+2
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-01-26all: migrate homepages from http to httpsrillig1-2/+2
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.
2018-11-15All Minix supported platforms are ELF.sevan1-2/+2
Confirmed with bsd.own.mk in Minix 3.4RC6 base.
2018-11-13Minix does support shared libraries (tested on 3.4RC6).sevan1-3/+2
2018-09-01bootstrap-mk-files: Add aarch64 to get correct OBJECT_FMT. Bump to 20180901tnn5-6/+12
2018-01-27pkgtools/*: Realign variables in Makefilesrillig1-2/+2
Mainly done by pkglint, manually reviewed and improved in some few cases.
2017-08-02Remove -Werror from bootstrap path. It makes the cwrappers buildmaya6-16/+7
fail unnecessarily on some edge cases such as older glibc. PR pkg/52390: current fails to bootstrap on CentOS 6 ok pkgsrc-pmc@
2016-09-08bootstrap-mk-files-20160908:joerg10-106/+20
Unless a platform explicitly sets DBG, default to -O2 on all architectures. Most importantly, don't default to unoptimized builds on AMD64.
2016-04-11Update bootstrap-mk-files to 20160411. Changes:jperkin2-3/+7
* Default to MKCATPAGES=no if mandoc is available on newer SunOS.
2016-01-28Add LICENSE (original-bsd).jperkin1-1/+2
2015-09-08Per PR 43356, remove references to rules for 'make subdir' for anydholland2-6/+4
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-07We currently detect $MACHINE_ARCH on OpenBSD/amd64 & Bitrig/amd64 as amd64.sevan1-5/+1
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-04Remove references to a.out.sevan1-16/+6
Add the necessary PIC flags for ELF shared libraries which is now assumed by default. Reviewed by joerg@ wiz@
2015-08-31Update bootstrap-mk-files to 20150831. Changes:jperkin9-319/+79
* 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-29x86_64 is not referenced anywhere in the file, comment appears above ifsevan1-2/+2
statement regarding sparc64. s/x86_64/sparc64.
2015-07-04Revert generic part.ryoon1-2/+2
Requested by jperkin@ and joerg@.
2015-07-04Update to 20150704ryoon3-4/+212
* Improve QNX support. From Jan Danielsson.
2015-06-11Do not add -Werror or -Wno-error in sys.mk, it is the generic rulesetjoerg6-36/+7
included everywhere.
2015-06-04Ride previous version bump.ryoon7-14/+14
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-04Update to 20150605ryoon3-6/+6
* If NOGCCERROR is not defined, add -Wno-error to CFLAGS instead of -Werror. NOGCCERROR means 'do not treat warnings as errors'.
2015-06-04Introduce preliminary support for Bitrig to pkgsrcsevan4-0/+1122
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-02-14On NetBSD, earm is always elf.riastradh1-1/+2
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.
2014-11-22Do not use gcc-specific compiler flags on Mac OS versions that come withbsiegert2-6/+15
clang. Update version for bootstrap-mk-files. Patch provided by Todd Kover in PR pkg/48966.
2014-05-16Update to 20140516ryoon2-2/+533
Fix PR pkg/48793: Use cc as linker instead of ld under OpenBSD. Fix undefined __guard_local in devel/libexecinfo.
2014-05-10Update to 20140510ryoon2-3/+4
Fix PR pkg/48793: treat OpenBSD 5.4 or later as ELF platform Patch from obache@, thank you.
2014-03-14Update to 20140314ryoon4-2/+918
* Add SCO OpenServer 5.0.7/3.2 support
2014-03-03Just define PKGNAME and use it.obache1-4/+2
2013-12-31Add support for PROGS (not just PROG) more or less like in the currentdholland2-32/+53
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-10-25Use the compiler front-end to generate shared libraries on OSX - thejperkin2-5/+5
native linker uses different arguments compared to GNU ld. Fixes various builds. Bump version to 20131025.
2013-09-12bootstrap-mk-files-20130912: Fix catman pages on SunOS.jperkin3-2/+530
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-08Update to 20130908ryoon2-2/+202
* Add FreeMiNT support. This file is needed for bootstrapping pkgsrc.
2013-08-30bootstrap-mk-files-20130830: Use bsdinstall on SunOS by default.jperkin2-4/+4
2013-07-26Add (Debian) GNU/kFreeBSD port.ryoon4-2/+925
Similar to GNU/Linux. Bump bootstrap-mk-files to 20130727.
2013-07-03Increase default SunOS compiler flags to -O2 to match most other systems.jperkin2-4/+4
Bump PKGVERSION to today's date.
2013-03-18Use `` instead of $(), fixes bootstrap on older SunOS versions which havejperkin1-3/+3
the legacy /bin/sh. Fix from asau.
2013-02-23Help people using mk files outside pkgsrc, provide saner default values.asau1-0/+8
2013-02-10Add Cygwin support, mainly borrowed from Interix's one.obache2-0/+666
2012-09-11"user-destdir" is default these daysasau1-3/+1
2012-04-15Update to 20120415.obache2-105/+149
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-03-05Mirror two changes from the NetBSD mk-files.sbd2-5/+10
1) Stop building catpages by default. 2) Derive MANINSTALL from MKCATPAGES. Bump package version.
2012-02-15Don't depend on /usr/ucb/install on SunOS, use ${PREFIX}/bin/install-sh.hans1-2/+2
2011-12-05Don't disable builtins for GCC.joerg2-9/+3
2011-11-26Propagate a fix from NetBSD base bsd.lib.mk: if SHLIB_FULLVERSION isdholland2-3/+6
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-06Add Minix specific Makefiles to bootstrap-mk-files. PR pkg/45045tcort5-3/+1202
2011-10-31Move the NOGCCERROR. When using '+=' on a make variable it must comesbd2-9/+9
_after_ '?=' is used on that variable. Bump PKGREVISION
2011-10-30Add support for groff-1.18. From norc on pkgsrc-users.wiz1-1/+3
2011-08-29IRIX: Set CPP to '${CC} -E' by default (old value is 'CC -E').cheusov1-2/+2
This fixes bootstrap failure on IRIX with MIPSPro C compiler when MIPSPro C++ is not available. Approved by wiz@
2011-06-17Fixes bsd.own.mk handling in bootstrap.sh script to same as pkg's Makefile.obache1-2/+2
PR#45061.
2011-01-23Add support for MirBSD to pkgsrc. Patches from Benny Siegert andagc1-0/+213
Thorsten Glaser.