Commit graph

9283 commits

Author SHA1 Message Date
jperkin
e4d1b9920a Mark SunOS as _INCOMPAT_CURSES, there are lots of issues with the recent work
to use the curses framework and this is the simplest solution for now.
2017-03-08 15:26:51 +00:00
jperkin
00697eb0c6 Update libtool packages to 2.4.6.
Changes since 2.4.2 are too numerous to mention, with over 4,700 lines
in the ChangeLog file.  However, this release does at least fix a large
number of build failures on SmartOS, and doesn't appear to cause any
obvious regressions in bulk builds performed by Joerg and myself.

Some pkgsrc cleanups while here, including merging the MirBSD patches
correctly.  It couldn't be made much clearer how to properly integrate
patches here to ensure they are not lost.  Next time you might not be so
fortunate!
2017-03-06 16:14:07 +00:00
kamil
142e04fc75 Fix path to cross-libtool-base in f2c.mk for crossbuilding 2017-03-05 10:40:18 +00:00
kamil
9e5664b199 Fix path to cross-libtool-base in TOOL_DEPENDS+= for crossbuilding 2017-03-05 10:38:37 +00:00
maya
e0e1e5769b Describe gstreamer-ptp-suid. requested by wiz. 2017-02-03 17:14:35 +00:00
sevan
8907fb92ff MACHINE_ARCH is set to powerpc64le during bootstrap, adjust if statement to
check for new value.
2017-02-01 10:00:17 +00:00
sevan
3425d1a52b powerpc64le is little endian. 2017-02-01 09:55:07 +00:00
jperkin
dc1d0f1622 Indent conditionals to improve legibility. No functional change. 2017-02-01 07:25:28 +00:00
sevan
bb04ef7a57 Add ppc64le paths from the Debian/Ubuntu multiarch hierarchy.
Tested on Ubuntu for POWER8.
Thanks to John Klos.
2017-02-01 03:00:35 +00:00
sevan
f77a337cf6 Sync with upstream 2017-01-31 22:16:20 +00:00
maya
e5900c2b7d replace ftp at kernel.org with http. it will shut down soon. 2017-01-28 00:23:35 +00:00
brook
3f7b4beddb Always take the flex version from the second word of the version string.
When necessary, the flex version is obtained from the version string reported
by running flex.  Generally, the first word of the version string is flex and
and the second is a version number.  At least for MacOS, there is a third
vendor-specific word.  The sed command previously used to capture the flex
version captured the last word, not the second one, because the first capture
group was too greedy and could capture more than a single word.  Instead,
force the capture groups to capture only words, i.e., no blanks, and use the
second word for the version.
2017-01-21 17:10:26 +00:00
taca
1b5ce22675 Coorect version of libtool to current one. 2017-01-18 05:33:39 +00:00
wiz
da976fdeef Bump LIBTOOL_REQD, newer version needed for cwrappers.
PR 51826.
2017-01-17 22:57:39 +00:00
jperkin
24bfb99d67 Cache and use computed variables. 2017-01-17 15:32:17 +00:00
rillig
d231f797e2 Fixed inconsistencies in comments. 2017-01-15 23:55:30 +00:00
sevan
9da918b016 Document the gcc-graphite option, used by lang/gcc*
https://gcc.gnu.org/wiki/Graphite
2017-01-15 02:21:34 +00:00
schmonz
abdcbeb009 Add checkpassword-suid option, off by default. 2017-01-09 04:01:32 +00:00
roy
3dc60e7357 Add a test for resize_term(3). 2017-01-05 21:32:39 +00:00
roy
f633dfa47c Add a test for set_escdelay 2017-01-05 21:19:24 +00:00
roy
b2d292a1e1 Support FAKE_NCURSES=yes for pdcurses and ncursesw. 2017-01-04 15:52:50 +00:00
roy
25cf955394 Add support for detecting the ncurses extension getsyx(3) in system curses. 2017-01-02 10:49:33 +00:00
schmonz
18d6404452 Update djbware configury for new bglibs file locations. 2017-01-02 02:20:52 +00:00
tron
cfbdc4f34e Update comment with default Emacs version 2017-01-01 02:07:53 +00:00
jaapb
d702b2a2bc Corrected an inaccurate comment. No actual changes in behaviour. 2016-12-30 11:45:28 +00:00
maya
2ab36e5237 Remove last mentions of gcc45,46,47 in mk/.
No functional change intended.
2016-12-29 23:16:26 +00:00
maya
bc1d2b7489 Remove some of the mentions for gcc{45,46,47}.
No functional change intended.
Still a few left.
2016-12-29 23:07:17 +00:00
maya
e2f57f6d5e Make GCC_REQD+= 4.5 to 4.8 resolve to 4.8 (dropping the possibility to
match for 4.5, 4.6, 4.7, which will soon be dropped).

This commit is the functional change. Cleanup will be done in separate
commits.
2016-12-29 22:21:13 +00:00
roy
8f6864a291 Fix USE_CURSES feature support. 2016-12-29 20:23:05 +00:00
joerg
a601f79184 Add optional caching of extracted build options. As the number of users
of this feature has exploded over recent years, this avoids quadratic
complexity for many packages during scan and build phase of a bulk
build. Pbulk logic for exploiting this feature will be committed
separately. Over all, this saves ~66% for wm/xfce4-wm
with initially empty cache and ~90% when the cache is populated. Total
scan time can be cut in half.
2016-12-17 23:41:51 +00:00
asau
cc2b5c855f Enable OpenJDK 7 and 8 on Linux. Add builtin support.
Tested on openSUSE 11-42.
2016-12-16 16:27:23 +00:00
hauke
16ed67bd37 Update MASTER_SITE_XEMACS:
- remove three defunct mirrors
- remove xemacs.org - its hoster tux.org went down,
  and the master site as well as all the *.xemacs.org
  DNS entries are gone
- add two mirrors that run under their own domain name
2016-12-11 19:19:36 +00:00
asau
06574a2c84 Update to Emacs 25 by default.
"There's no reason not to upgrade it."
2016-12-09 22:24:50 +00:00
wiz
db05d33e02 Remove ex-CPAN mirror. 2016-12-04 18:26:44 +00:00
bsiegert
7260ae5a46 Enable cwrappers for Dragonfly and FreeBSD. Remove Linux emulation (gone)
for Dragonfly.

From David Shao in PR pkg/51688.
2016-12-04 15:37:41 +00:00
wiz
b89232a807 Add PKG_DISABLED_OPTIONS.
This variable contains the options that are NOT enabled for a package.
2016-12-01 15:28:57 +00:00
marino
e7a91fc2fa Upgrade USE_LANGUAGES=ada to use lang/gcc5-aux instead of lang/gcc-aux
This large commit accomplishes the following:

1) Switch USE_LANGUAGES=ada to require lang/gcc5-aux (gcc 5.4) instead
   of lang/gcc-aux (gcc 4.9.2) on gcc.mk
2) Bump affected ports and fix paths as necessary
3) Upgrade devel/gprbuild to the latest release
   - No longer requires lang/gnat_util
   - gprslave requires gcc6-aux, so it was disabled for now
4) Fix lang/gnat_util but set PKG_SKIP_REASON
   - It has no further purpose in the pkgsrc tree
   - It has no practical purpose outside of the pkgsrc tree
   - Indicate intent to remove from tree in Jan. 2017
5) Set devel/GPS as failed with PKG_FAIL_REASON
   - This version of GPS is several years old and at the time they were
     strongly tied to compiler.
   - Latest release of GPS require gcc6-aux (not available) and several
     new and complex dependencies
   - maintainer (me) has no interest to continue supporting it
   - Leaving GPS in place until Jan 2017 to give another person chance to
     upgrade and take over support
   - Latest version in FreeBSD Ports Collection as a reference point
2016-11-25 20:36:49 +00:00
joerg
5767cbd19c Don't try to adjust BUILDLINK_INCDIRS.curses by a non existing prefix. 2016-11-25 13:35:33 +00:00
pho
0f6827febc fuse.h requires that _NETBSD_SOURCE is defined 2016-11-21 00:01:01 +00:00
spz
5a1d0ee4bd add unicode to DEFAULT_ACCEPTABLE_LICENSES 2016-11-18 09:43:39 +00:00
jdolecek
fbce554b02 fix the test for <poll.h>/<sys/poll.h> - use _OPSYS_INCLUDE_DIRS instead
of assuming /usr/include; this fixes compilation of net/socat,
which has broken !HAVE_POLL code
2016-11-13 11:06:40 +00:00
joerg
8c3ea2e438 Prepend the ABI flags to allow interested programs like qemu to
overwrite them on demand. This allows building ROM images and the like
with a special target ABI. Discussed a while ago with jperkin.
2016-11-10 20:59:43 +00:00
joerg
fea8495735 Handle optional ctfmerge/ctfconvert presence on NetBSD by explicitly
passing down NOCTF when they don't exist.
2016-11-10 20:58:46 +00:00
adam
8889df1526 Added postgresql96 support 2016-10-30 08:57:12 +00:00
jperkin
ea3df7bb6a Enable cwrappers by default on OpenBSD. 2016-10-28 09:21:08 +00:00
wiz
1ce724e294 Enable cwrappers by default on NetBSD. 2016-10-27 12:29:17 +00:00
jperkin
b673fabd21 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).
2016-10-27 10:31:05 +00:00
marino
0f0623489a DragonFly: Update _OPSYS_SYSTEM_RPATH
It's going on 10 years since gcc 3.4 and gcc 4.1 were part of DragonFly.
DF Release 4.4 is the earliest with any kind of support and the earliest
possible GCC version is 4.7 there.
2016-10-25 20:00:47 +00:00
kamil
5e0738fca8 Add support for overloading CMAKE_INSTALL_PREFIX
By default CMAKE_INSTALL_PREFIX points to PREFIX, but some software requres
custom subprefix. At least blender and brlcad are in this category.

To set new prefix it's sufficient to set CMAKE_INSTALL_PREFIX in a package,
for example (in brlcad):

CMAKE_INSTALL_PREFIX=${PREFIX}/brlcad

Reviewed by <joerg> and <jperkin>.
2016-10-21 11:13:35 +00:00
wiz
2c38733c3a Remove outdated netlib mirror. 2016-10-18 14:03:16 +00:00
jperkin
c034060ef5 Fix mips ABI setup which cannot have possibly worked for a long time. 2016-10-10 08:26:08 +00:00
wiz
fdee5ecd22 Bump pgsql default to 95. 2016-10-09 21:08:18 +00:00
joerg
9b3ec3ae6f Hook up the prepend support. 2016-10-05 12:46:43 +00:00
wiz
59c4a9f6b5 Allow sissl-1.1 per default
See
https://opensource.org/licenses/sisslpl
2016-10-03 11:49:31 +00:00
wiz
577e1cde9e ibm-public-license-1.0 -> ipl-1.0 2016-10-03 08:30:20 +00:00
kamil
40fcb362d5 Appease pkglint(1) - replace () with {}
No functional change
2016-09-24 18:34:24 +00:00
adam
04526fd31d Added support for mysql57 2016-09-21 14:27:51 +00:00
gdt
b177a0f098 Omit pkg_tarup during replace in destdir mode
In destdir mode (the default), make replace creates the replacement
binary package without modifying the installed system, and then
installs it via pkg_add -u.  Thus, the new package is known to have
built and packaged ok before the system is changed, and the risk of
trouble is low; thus the benefit of tarring up the installed package
is very low, especially since the newly-tarred-up package is removed
by "make clean".  Using pkg_tarup costs cycles to run and more
importantly causes users to have to install it since it is not an
automatic dependency.

In addition, binary packages are now kept by default when building, so
the old version should be accessible in case of trouble.

This commit does not change the non-destdir case.  Almost no one uses
that method, and the relative benefit of tarup is much higher.
2016-09-19 12:26:08 +00:00
agc
92ae36d6cf Change default setting of PKGSRC_KEEP_BIN_PKGS to "yes". During the build phase,
binary packages will be preserved under the ${PACKAGES} directory by default.
2016-09-18 22:17:54 +00:00
ryoon
7b9630876e Add emacs25 and emacs25nox to possible values 2016-09-18 14:02:42 +00:00
richard
135ceb1bfd support native linux implementations of oss 2016-09-18 05:25:18 +00:00
richard
c27c54fb31 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.
2016-09-17 05:41:37 +00:00
ryoon
f4cce41621 Allow '-l m' like '-lm' and update the comment for -l and -D
O.k. by jperkin@ and dholland@
2016-09-16 13:12:29 +00:00
taca
a279c1aa65 Add description for iconv, nginx and php-sockets. 2016-09-13 16:07:14 +00:00
maya
7068769a8f Add logic so GCC_REQD+=6.x works
ok jperkin@
2016-09-13 07:59:15 +00:00
maya
3a3ad52105 Introduce GFORTRAN_VERSION, pick which version of gfortran is used.
modified patch from Rin Okuyama
PR pkg/50722: do not hardcode lang/gcc48 in gfortran.mk

"looks ok, needs docs" - wiz
"it'll do for now, ideally I'd like something more robust and possibly
integrate into gcc.mk's path selection" - jperkin
2016-09-12 12:18:13 +00:00
wiz
89b7279e32 Remove ftp.tex.ac.uk, it does not allow connections. 2016-09-11 13:04:28 +00:00
joerg
852712577b Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
2016-09-08 15:19:16 +00:00
joerg
e9a8511669 Add PHP_VERSIONS_INCOMPATIBLE to filter out unsupported versions,
especially if a package requires newer versions.
2016-09-08 09:40:11 +00:00
jperkin
726fbdb877 Support UNLIMIT_RESOURCES=cputime on Darwin. 2016-09-06 09:50:20 +00:00
jnemeth
464f0c5b40 mention libdbi 2016-08-30 02:01:47 +00:00
joerg
b33b40aeb1 Explicitly unset CONFIG_SITE. Some Linux distributions like SuSE set it
in the default environment and provide a config.site overriding the
default libdir settings. This breaks havoc with our PLISTs and expected
library paths, so kill it.
2016-08-26 16:51:56 +00:00
jperkin
ed6c0a593f Support UNLIMIT_RESOURCES=cputime on SunOS. 2016-08-25 12:08:29 +00:00
richard
334542855d Add experimental aarch64 support (amlogic s905 under ubuntu) 2016-08-24 05:31:20 +00:00
wiz
200e3df4b5 Add two option descriptions for p5-Module-Build. 2016-08-21 07:14:38 +00:00
adam
99864d3ee3 Fix for otool from Xcode 8.0 2016-08-20 18:52:42 +00:00
wiz
7464e41200 Less noise. 2016-08-19 12:17:26 +00:00
asau
8ed2939d16 Handle special case of URLs prepended with dash. 2016-08-09 15:16:35 +00:00
wiz
52d4a1294a Remove some non-working sunsite mirrors (and a mirror of something else) 2016-08-01 09:35:56 +00:00
jperkin
9900231406 Support NetBSD man/html entries. Fixes deforaos-*. 2016-07-26 08:41:36 +00:00
wiz
c9148563a4 Remove special PRINT_PLIST_AWK for a couple of variables.
In particular:
OS_VERSION
MACHINE_GNU_PLATFORM
MACHINE_ARCH
MACHINE_GNU_ARCH
LOWER_OS_VERSION

Reason: Only very few packages really need these, many other have false
positives.

Ok jperkin@
2016-07-25 21:57:23 +00:00
leot
d36f22066b Fix a typo in a comment 2016-07-18 09:57:10 +00:00
leot
7321250d39 Get rid of XXX comment, everything is now installed from ${WRKDIR}/.destdir 2016-07-14 14:43:55 +00:00
jperkin
8fee57ccb0 Switch SunOS-5.11-i386 default back to openjdk7. Oracle have broken 32-bit
support in openjdk8 and have no intention of fixing it.
2016-07-13 14:16:17 +00:00
wiz
ad3aa52d45 Run mk/scripts/mkreadme in quiet mode by default. 2016-07-11 22:53:48 +00:00
rillig
9a44ed19cd Replaced while loop with for loop and initialized indentation. 2016-07-10 07:08:21 +00:00
dholland
f39f6090b1 Remove obsolete anti-cycle logic; fixes PR 48961. 2016-07-09 17:12:22 +00:00
rillig
057875c2f0 Added keywords for "make help". 2016-07-09 16:32:54 +00:00
rillig
a19abe8a9a Fixed pkglint warnings about unnecessary whitespace and indentation. 2016-07-09 09:54:27 +00:00
sevan
62a7145565 Opt to prefer OpenSSL from pkgsrc rather than a builtin version for all versions rather than just 10.7 or newer.
There is no good reason to opt for the builtin on the legacy release prior as they're unmaintained.
2016-07-08 21:23:57 +00:00
wiz
dd02618689 Be less verbose. 2016-07-07 12:01:22 +00:00
wiz
e3a74a47f5 Be less verbose. 2016-07-07 11:29:34 +00:00
wiz
4c15a3aebc Describe new duplicity options. 2016-07-07 08:36:02 +00:00
sevan
bc046352ab DragonFly BSD ships with GCC 5.x as the compiler, add its library location to _OPSYS_SYSTEM_RPATH 2016-06-29 13:37:19 +00:00
jaapb
8bf82f0dd4 Updated pkginstall framework to correct bug in findlib registration.
Discussed on packages@ and okayed by jperkin.
2016-06-25 13:52:28 +00:00
jaapb
c18ee77937 Added variables to package variables 2016-06-20 19:44:04 +00:00
wiz
e8ec446a6d Get rid of INSTALLATION_PREFIX. 2016-06-19 20:03:09 +00:00
wiz
5605293df9 Remove support for USE_CROSSBASE. 2016-06-19 18:01:58 +00:00
prlw1
be471adb13 Describe ecap option - eCAP is like ICAP (RFC 3507) 2016-06-17 16:01:32 +00:00
jaapb
5b9387d7eb Two fixes to the ocaml-findlib-register pkginstall fragment:
- set a sensible default for OCAML_FINDLIB_DIRS (and factorise out
  OCAML_SITELIBDIR)
- make it possible not to register any directory by setting
  OCAML_FINDLIB_REGISTER to no
2016-06-17 08:53:42 +00:00
mspo
9f870b7185 add ftp6 to binpkg_sites, at request of joerg, since cdn is ipv4 only 2016-06-16 18:28:45 +00:00
mspo
dd873a033d add ftp6 into the list of MASTER_SITE_BACKUP 2016-06-16 18:23:01 +00:00
mspo
1a0cbbdc8d set cdn.netbsd.org as the bin install site for netbsd 2016-06-16 00:14:55 +00:00
mspo
521ef20129 add cdn.netbsd.org to the top of MASTER_SITE_BACKUP 2016-06-16 00:13:38 +00:00
jperkin
c02e752f64 Change PKGSRC_USE_SSP to a quad option. The options are now:
"no"     Do not pass any stack protection flags (the default)
   "yes"    Pass -fstack-protector
   "strong" Pass -fstack-protector-strong
   "all"    Pass -fstack-protector-all

This allows users to configure the level of stack smashing protection they
require, and ensures consistent behaviour across platforms.  Users running
on NetBSD who previously used the option will need to change "yes" to "all"
to match the previous default configuration for that platform.

While here use _WRAP_EXTRA_ARGS to ensure the flag gets passed regardless
of whether the package honours CFLAGS, and support additional wrappers.

Discussed a while back with khorben, and used in production for the SmartOS
2016Q1 package sets with the "strong" option.
2016-06-13 13:26:42 +00:00
rillig
077f4537d6 Improved documentation of show-var and show-vars. 2016-06-11 12:41:30 +00:00
markd
3d30e908bb In cwrappers case transform ${X11BASE} path after ${LOCALBASE} path
in case its a prefix of ${LOCALBASE}.
Fixes build of print/poppler-glib and others when using CWRAPPERS
on Linux with native X and ${X11BASE}=/usr
2016-06-09 02:38:34 +00:00
leot
69c74af7e6 Get rid of the XXX trying to provide a bit more information regarding
PKG_VERBOSE.

PKG_VERBOSE currently is mostly used consistently in order to pass the `-v'
option to various commands (FETCH_CMD, PATCH, plist/doc-compress,
pkg_delete(1)).
It is also used internally (and a bit less consistently) in other cases to
provide more information mostly useful only for debugging.

ok <bsiegert>
2016-06-06 15:13:24 +00:00
joerg
6b5fefdd15 Honour ALL_ENV in print-PLIST. 2016-06-03 14:32:30 +00:00
wiz
40b7c6735c Update URL to new pypi master site. 2016-06-01 12:40:06 +00:00
wiz
1cdbd2a052 Fix MASTER_SITES example. 2016-06-01 12:39:40 +00:00
wiz
8c393357d6 Remove dm-download02.mozilla.org, it doesn't resolve. 2016-05-29 12:17:53 +00:00
schnoebe
c84fde74b2 Add descriptions for fax and websocket. 2016-05-28 23:27:45 +00:00
leot
51abca7132 Add aslr mprotect pax paxctl' keywords to help help' target. 2016-05-27 08:33:00 +00:00
khorben
92db94d1e0 Correct the name of the user-settable variable
Noticed by wiz@, thanks!
2016-05-26 16:37:02 +00:00
khorben
169865dfeb Import mini-framework for paxctl(8) on NetBSD/{amd64,i386}
This allows setting flags for PaX on select binaries. Two new variables
are introduced for packages: NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE.
They both expect a list of binaries are known to not support PaX ASLR
and/or PaX MPROTECT, respectively.

"Please commit" wiz@
2016-05-26 16:03:04 +00:00
snj
bba3a64409 +geoclue 2016-05-18 22:48:08 +00:00
snj
0e2e0dbaef add libdrm 2016-05-18 22:24:53 +00:00
wiz
e3a623858d ftp.OpenBSD.org does not provide public ftp any longer, only http. 2016-05-17 09:28:06 +00:00
jperkin
3b01e58d8a Restore print-PLIST @pkgdir functionality. This was lost in the @dirrm
cleanup as the implicit print action was removed.
2016-05-10 16:54:05 +00:00
jperkin
11d02981ed Stop using the native texi2html on SunOS. It's not fully compatible
with what packages such as multimedia/ffmpeg2 expect, and as so few
packages have texi2html in USE_TOOLS it may be causing more problems
that it is worth to save a few dependencies.  PR#51113.
2016-05-10 08:54:49 +00:00
joerg
6c00682f76 Stop creating category symlinks in ${PACKAGES}, but keep All/ for now. 2016-05-09 00:07:23 +00:00
jaapb
365da8a4e1 Setting OCAML_USE_OASIS now automatically adds ocamlbuild as a build
dependency
2016-05-06 14:13:23 +00:00
jperkin
7f4b9e129e Handle MANZ for print-PLIST. 2016-05-04 11:17:41 +00:00
taca
1c8b6651cb Add description for sit and tuning PKG_OPTIONS used by bind910. 2016-05-02 13:29:19 +00:00
dholland
8ce9bb5192 Document afterstep option. 2016-05-01 19:35:48 +00:00
leot
cf2c59f74f Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.
Discussed in tech-pkg@:
http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html

Thanks to Memnon Anon!
2016-04-21 07:51:51 +00:00
ryoon
f5a6e41c04 Add some osdn.jp mirror sites 2016-04-17 09:10:02 +00:00
jperkin
901f82f6b8 Revert part of the MACHINE_ARCH cleanup that resulted in the Linux/x86_64
triplet reporting as x86_64-pc-linux.  Go back to the previous triplet of
x86_64-unknown-linux which matches what config.guess outputs.
2016-04-17 08:13:09 +00:00
jaapb
02746ce69d Added a ${RUN} to the UNPACK line for the ocaml-findlib-register script 2016-04-12 16:01:06 +00:00
jaapb
e712e0e4d8 Added a pkginstall fragment that takes over from ocaml-findlib-register (a
script included in the ocaml-findlib package) and removes the need to call
said script explicitly from PLIST.

Packages that use findlib will now automatically add directories that are
in OCAML_FINDLIB_DIRS (set by default to $(OCAML_SITELIBDIR)/${PKGBASE})
to the file ${PREFIX}/lib/ocaml/ld.conf. This behaviour can be disabled by
undefining OCAML_FINDLIB_REGISTER.
2016-04-12 15:52:29 +00:00
jperkin
283634a16c Re-arrange parsing order to fix various combinations of PKGMANDIR, MANZ,
and MKCATPAGES.
2016-04-11 12:29:53 +00:00
dbj
ed7710a502 the native soelim is gsoelim so default it as TOOLS_PLATFORM.gsoelim 2016-04-11 04:49:41 +00:00
dbj
dde82c09aa update PKG_{FAIL,SKIP}_REASON with += 2016-04-11 04:22:33 +00:00
joerg
639d5b402f Remove support for USE_DESTDIR=no. 2016-04-10 15:58:02 +00:00
joerg
738c342050 Adjust USRGROUP_PHASE handling for USE_DESTDIR=no removal. Update
documentation to reflect the pre-install option.
2016-04-10 15:33:42 +00:00
joerg
4287748b6e Always require the 2010 version of pkg_install to simplify things a bit. 2016-04-10 15:20:26 +00:00
joerg
bb6f5a8d35 Rewrite somewhat in light of the non-DESTDIR removal. 2016-04-10 15:15:45 +00:00
joerg
54362eeca1 Remove last glue for PKG_DESTDIR_SUPPORT=none. 2016-04-10 15:10:12 +00:00
joerg
af3ac5987c PKG_DESTDIR_SUPPORT=none is gone. 2016-04-10 15:09:26 +00:00
joerg
bfef30f0c8 Drop support for PKG_DESTDIR_SUPPORT=none. 2016-04-10 15:08:39 +00:00
richard
87d204ea41 add mtpz options to enable MTPZ support using libgcrypt 2016-04-09 10:12:24 +00:00
richard
6d539a4c87 Add two options:
libusb-1 - Enable USB access via libusb-1.
nautilus - Enable nautilus sub-menu option.
2016-04-09 05:26:26 +00:00
wiz
cf765f4607 Switch from pkg-config to pkgconf. 2016-04-08 13:12:33 +00:00
jperkin
13d4067905 Move handling for PKG_SUPPORTED_OPTIONS and PKG_SUGGESTED_OPTIONS as
OPSYSVARS to bsd.options.mk as they affect tests against PKG_OPTIONS
before bsd.pkg.mk is parsed.

Approved for commit during the freeze by agc@.
2016-03-23 11:50:01 +00:00
jperkin
3c2941b993 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.
2016-03-17 16:02:23 +00:00
markd
9cd5091c7b Add support for -isystem to legacy wrappers.
rewrite "-isystem dir" as "-isystem,dir"
  transform "-isystem,dir" in same ways as "-Idir"
  rewrite "-isystem,dir" back to "-isystem dir" in cmd-sink
2016-03-14 20:11:56 +00:00
khorben
1778fc2c25 Also determine when compiling from source files
This allows fixing an issue with PKGSRC_MKPIE, where "gcc source.c" would
not work. Some packages rely on this test to determine if a working
compiler is available.
2016-03-13 15:32:06 +00:00
khorben
d8dbc296fa Also register "-pie" as a known argument for gcc(1)
As suggested by wiz@
2016-03-12 21:22:04 +00:00
tnn
75c9f740a4 don't default to EOL versions of java:
- change Linux x86 from sun-jdk6 to oracle-jdk8
- change SunOS x86 from openjdk7 to openjdk8
- change DragonFly from openjdk7 to openjdk8

leave Darwin at sun-jdk6 for now, not sure how the builtin stuff works ...
2016-03-12 06:27:17 +00:00
khorben
03a56367ef Re-arrange support for FORTIFY/MKPIE/RELRO/SSP
- No _GCC_* anything in mk/bsd.prefs.mk;
- No compiler flags in platform files.

Tested again on NetBSD/amd64, with and without cwrappers, with the same
outcome.

With feedback from jperkin@
2016-03-11 23:54:08 +00:00
khorben
dc4ad6b750 Add support for a number of security features
- Revisit (and rename) support for FORTIFY as PKGSRC_USE_FORTIFY (instead
  of PKGSRC_USE_FORT) for easier support outside NetBSD/gcc;
- PKGSRC_USE_SSP is no longer enabled by default when PKGSRC_USE_FORTIFY
  is enabled;
- PKGSRC_MKPIE builds executables as PIE (to leverage userland ASLR)
- PKGSRC_USE_RELRO builds with a read-only GOT to prevent some exploits
  from functioning.

Tested on NetBSD/amd64 by myself, in every combination, with and without
pkgtools/cwrappers. MKPIE is not supported at the moment with cwrappers.
Also, MKPIE is known to still break a number of packages when enabled (and
actually supported).

Tested on SunOS by jperkin@, thank you!

As discussed on tech-pkg@, the default behavior is not changed, except
where noted above.

ok bsiegert@
2016-03-11 23:03:31 +00:00
fhajny
124d88ee1d Strip --enable-new-dtags GNU ld arg on Darwin and SunOS. 2016-03-11 22:04:34 +00:00
dholland
69936c6955 Explicitly skip directories. PR 50955. 2016-03-11 21:11:47 +00:00
tnn
7ca6d09a6a let's do just "Solaris" instead of "Oracle"
The only current use of this is pbulk's subject line, and Solaris 11.3
makes more sense than Oracle 11.3.
2016-03-11 05:42:35 +00:00
tnn
52872bb412 for SunOS, assume that OS_VARIANT is Oracle if no match on other variants
for OmniOS, stop processing /etc/release after the first line
2016-03-11 04:58:51 +00:00
jperkin
111893bb36 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.
2016-03-10 16:58:19 +00:00
jperkin
640104b74c Reset 'found' variable for each library check. Previously, all subsequent
tests would pass after the first successful check.  Exposes library issues
in a number of packages.
2016-03-10 15:56:24 +00:00
tnn
926fcc3996 Add special handling for Debian derived systems as they do not have GNU awk
in /usr/bin/awk but mawk. Use /usr/bin/gawk if it exists, otherwise
depend on gawk from pkgsrc when required.
2016-03-09 22:27:29 +00:00
ryoon
f35fb0553e Add gnupg2 and gnupg21 options 2016-03-07 12:05:01 +00:00
tnn
7f5db266bf pass correct ABI via OBJECT_MODE environment variable on AIX
It turns out a handful of AIX binutil-like utilities are particular
about type of object files they should examine.  Instead of piping
through flags for each utility everywhere, it is easier to just export
'OBJECT_MODE=[32|64]' instead.

From Eric N. Vander Weele.
2016-03-04 21:25:47 +00:00
jaapb
acc9ee8227 Added OCAML_USE_OASIS_DYNRUN option 2016-03-04 15:19:42 +00:00
tnn
fbb9c37ab2 pass correct ABI flags to ar(1) on AIX
AIX is particular about the type of object files `ar` should examine.
This should be set explicitly to coincide with the user's defined $ABI.

Contributed by Eric N. Vander Weele.
2016-03-04 01:38:39 +00:00
jperkin
d11ccc0d54 Pass correct GCC ABI flags on AIX.
Fix from Eric N. Vander Weele <ericvw@gmail.com>
2016-03-02 18:45:21 +00:00
jperkin
b4e6a0bbf3 Remove a commonly used set of GNU ld arguments which are incompatible
with the Darwin linker.  Fixes various packages.
2016-02-29 10:05:47 +00:00
fhajny
ff4009acb2 Add snappy option description 2016-02-26 15:57:21 +00:00
fhajny
259aedbfb1 Add wiredtiger option description. 2016-02-26 12:35:31 +00:00
jperkin
a6c8139ccc Add MAKE_FLAGS to the default list of OPSYSVARS, it's used enough times. 2016-02-26 11:38:37 +00:00
tnn
307ed51e86 PostgreSQL 9.5 awareness 2016-02-25 21:39:07 +00:00
jperkin
499492952d Expand the default list of OPSYSVARS to include those commonly used
already, plus those that are most used in OPSYS-specific sections.
2016-02-25 08:20:25 +00:00
jperkin
9bd8757b52 Remove overrides for OPENAL_INCLUDE_DIR and OPENGL_INCLUDE_DIR. These
conflict with pkgsrc versions of those packages, and do not interact well
with the wrappers anyway as cmake will perform simple file-based tests for
headers but the compiler will be unable to find them.
2016-02-24 15:24:56 +00:00
jperkin
43cbbd8b78 Default to the system libuuid. The system headers assume that the libuuid
header provides the uuid_string_t typedef, which is not the case with the
version coming from pkgsrc.
2016-02-24 14:59:56 +00:00
jklos
85563e4143 Fix issue with VAX when awk's split is called with empty string. 2016-02-24 08:54:23 +00:00
joerg
ee75c51786 Add a new override mechanism for depcomp, similar to the existing
overrides for libtool. This allows us to easily get the fixed version
from our libtool in place without having to hunt down for the specific
bugs in random places. Disable the override explicitly in clisp, which
installs a copy without explicitly depending on libtool at run time.
2016-02-23 15:19:23 +00:00
jperkin
22af365a50 Export OSX_VERSION (renamed from OSX_VERS) to the environment regardless of
whether we're using the SDK path or /usr/include, as it is useful for other
contexts than simply determining the SDK directory.
2016-02-22 19:57:41 +00:00
jperkin
f946849744 Add an additional check to ensure that library REQUIRES are not relative
paths.  These would previously pass the checks as the files would exist
when checking from within the DESTDIR, but were not resolvable at runtime.
2016-02-19 15:10:23 +00:00
jaapb
9101e5296c Added ppx and camlp4 options. 2016-02-17 16:54:59 +00:00
taca
0f21f3b206 Update MASTER_SITE_RUBYGEMS to avoid extra redirection. 2016-02-14 06:55:08 +00:00
wiz
2a9c8e31cf Add paratype to default-allowed licenses, since it is basically ofl-v1.1. 2016-02-10 10:50:18 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
leot
6ced276e61 Document the glfw option. 2016-02-04 11:52:31 +00:00
rillig
4b745bef97 Changed "Install binary package" to "Installing binary package" 2016-02-02 08:15:07 +00:00
leot
1bcc4f4422 Add keywords to print/texlive/package.mk and instruct mk/help/help.mk to also
look for print/texlive/*.mk files for help.

Now documentation regarding TeX packages for pkgsrc MAINTAINERs and
developers is easily accessible via the "help" target.

ok wiz@
2016-02-01 18:47:23 +00:00
rillig
913583c370 Fixed subst.mk not to corrupt files
Up to now, using subst.mk may have led to file corruption during active
package development. This happened when a sed(1) command had a syntax
error, in which case the whole sed(1) command was terminated, leaving an
empty original file behind.

This commit changes that behavior by applying the sed(1) commands to
the original file and saving the result in a temporary file. Only
after that succeeded is the original file overwritten.

During this rewrite, SUBST_POSTCMD has been removed, since it was
only used in one place (mk/wrapper), and since it relied on the exact
sequence of the internal commands. No package in either main pkgsrc
or pkgsrc-wip uses this variable right now.
2016-01-31 17:27:41 +00:00
tron
8f9479677b Deal with type hiding under NetBSD-current to e.g. fix the build
of e.g. the "fuse-ext2" package.
2016-01-28 20:50:07 +00:00
jperkin
ac56158090 Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.
2016-01-24 16:14:44 +00:00
mef
df83c2aea0 mysql.llarian.net is not on DNS record of llarian.net 2016-01-23 02:46:39 +00:00
zafer
e33ff3d3ae update sites.mk. remove non-working mirrors. 2016-01-22 07:56:01 +00:00
khorben
5e84b71d39 Remove support for APACHE_CUSTOM_CFLAGS
This goes as far back as 2001 (mk.conf.example) but there should not be any
reason to explicitly set CFLAGS for specific packages. In practice this
even fixes support for global CFLAGS in www/apache{22,24}.

ok gdt@
2016-01-20 13:29:29 +00:00
wiz
d89eac75cc Add farstream option description. 2016-01-13 22:27:31 +00:00
rillig
d904a0c3e5 Added keyword "platform" for "bmake help" 2016-01-12 19:55:41 +00:00
dholland
ed95567cee Use :tA to make DISTINFO_FILE absolute when passing it to the fetch
and checksum scripts.

Fixes the problem where DISTINFO_FILE=../../foo/bar/distinfo doesn't
work without having an extraneous and ugly ${.CURDIR} stuffed into it
by hand.
2016-01-06 07:38:25 +00:00
wiz
0d10e4a090 Look in lang/go/*.mk for help topics too. 2015-12-27 19:41:29 +00:00
joerg
d0abbc4cdc Make USE_DESTDIR != yes an error. 2015-12-27 12:37:29 +00:00
tsutsui
4af0f9785a Describe scim option. 2015-12-19 14:13:19 +00:00
asau
6409029991 Make the pbulk deployment script more reusable:
- allow setting non-default prefix;
 - avoid embedding non-essential settings into binary bootstrap kit.
2015-12-14 21:12:01 +00:00
jperkin
698717d710 Extend the El Capitan HFS+ bug workaround to 15.1.0 but no further, I can
confirm that Apple fixed the bug in the recent 15.2.0 (10.11.2) update.
2015-12-14 14:14:33 +00:00
sevan
168d1b7354 Define MACOSX_DEPLOYMENT_TARGET for Tiger to allow current releases
of software such as Ruby to build on Tiger/PowerPC.
Tested with & without on a G4 with Tiger & Leopard.
It was not needed on Leopard as the linker defaults to a target of 10.5 &
setting it back broke the bootstrap process.

Reviewed by wiz@ long ago.
2015-12-13 22:38:00 +00:00
richard
f373158641 Make sure FAKEHOMEDIR is created when WRKDIR is.
Add fgrep to default USE_TOOLS for good measure.
2015-12-13 06:05:25 +00:00
jperkin
454f6fae69 Perform interpreter sed(1) check with LC_ALL=C, avoids failures on newer
Darwin releases with "sed: RE error: illegal byte sequence".
2015-11-27 12:45:04 +00:00