Commit graph

8656 commits

Author SHA1 Message Date
wiz
a66210a1ef Document qemu-0 option. 2014-01-16 13:49:00 +00:00
ryoon
575da143a7 If system's gmake is older than pkgsrc requirement (3.81),
Use gmake from pkgsrc.
Fix libvpx build under Solaris 10, Solaris 10 has gmake 3.80,
and libvpx requires gmake 3.81 or later.
2014-01-15 06:53:06 +00:00
cheusov
6e7052a586 Revert previous commit 2014-01-14 12:28:47 +00:00
cheusov
ac03da9d84 New private target sanity-check-depends for checking DEPENDS,
BUILD_DEPENDS, TOOL_DEPENDS and CONFLICTS for correctness
(>x.y.* like patterns). This check is run in the beginning
of "depend" target.
2014-01-14 10:52:12 +00:00
rodent
31ba3ff03e +sdl2 2014-01-06 04:38:22 +00:00
wiz
c72b5cf32d Remove references to removed packages. 2013-12-31 17:22:58 +00:00
tron
c05e16109a Don't try to convert the SunStudio option "-mt". There is no GCC option
which is accepted by both the GCC bundled with Solaris 10 and the more
modern GCC versions availabe in "pkgsrc". Handling of POSIX thread
related options should be left to pkgsrc anyway.

Fix based on a suggestion by Richard Palo.
2013-12-31 13:56:35 +00:00
jperkin
ea861a35ec Check for stdio.h in /usr/include test, as on upgrades the /usr/include
directory may still exist containing legacy application headers.

Noticed by schmonz.  Also add Mavericks to the version table while here.
2013-12-31 11:13:43 +00:00
rodent
a2e92a26ae +xscrnsaver - one package in HEAD using this option now 2013-12-29 05:16:06 +00:00
tron
50646c0aac Add Solaris 10 i386 and x86_64 as a supported platforms for "sun-jdk16".
This allows "pkgsrc" to detect the Java 1.6 bundled with recent
Solaris 10 update releases.

Change during freeze approved by Greg Troxel.
2013-12-27 00:11:38 +00:00
tron
92cf18ffb3 Add Solaris 10 SPARC as a support platform for "sun-jdk16". This allows
"pkgsrc" to detect the Java 1.6 bundled with Solaris 10. There are more
missing combinations e.g. Solaris 10 i386 but they would need testing.

Change during freeze approved by Thomas Klausner.
2013-12-25 22:04:30 +00:00
tron
9477e39aed Improve support for HTTPS master site URLs:
As the default fetch program "tnftp" (in "pkgsrc" and all released
versions of NetBSD) doesn't support HTTPS prefer "fetch" (DragonFlyBSD,
FreeBSD and Minix) or Curl (CygWin, Linux, Mac OS X, Solaris) if available.

Change during pkgsrc-freeze approved by Greg Troxel and Thomas Klausner.
2013-12-19 23:50:29 +00:00
obache
b812a7460e Switch FETCH_USING to "fetch" by default on FreeBSD.
It exists by default and much functional support than "ftp" from net/tnftp.
2013-12-16 05:47:43 +00:00
schnoebe
3f44e4a2cd Add a number of options from jabberd2. 2013-12-13 17:01:12 +00:00
obache
b5a3421659 sort 2013-12-13 07:11:20 +00:00
obache
d8793bfae8 The unzip utility apprared in FreeBSD 8.0. 2013-12-13 07:04:09 +00:00
obache
b4454b4f6d Added suse131_mozilla-{nspr,nss} package to support nspr and nss linux module.
Tyey are in base package for suse121.
2013-12-12 02:34:28 +00:00
prlw1
64c4ecb371 Add dbus to list of linux modules 2013-12-10 10:17:28 +00:00
obache
04aedabdb2 note 13.1 for SUSE_PREFER 2013-12-05 11:49:13 +00:00
obache
80251b35d0 Added openSUSE 13.1 packages, provides a number of components for a
openSUSE-based Linux binary emulation environment.
2013-12-05 11:42:12 +00:00
obache
edf32fc38f fixes last commit (copy&paste error). 2013-12-01 02:57:36 +00:00
richard
9b101279b8 include versions 1.12&1.13 to aclocal/automake 2013-11-30 06:24:38 +00:00
obache
1b7dc20b61 Use find-headers.mk to detect available endian.h. 2013-11-26 07:25:53 +00:00
obache
6b0afb3283 use find-headers.mk to detect header files instead of using absolute path. 2013-11-26 07:04:55 +00:00
tron
73293ff6a6 Don't use "${ECHO}" which isn't defined yet, hard code "echo" instead.
As this doesn't have to be portable anyway it won't cause problems.
2013-11-24 10:13:41 +00:00
jperkin
c52ee7c5a3 Handle older versions of xcrun. 2013-11-24 09:36:41 +00:00
obache
b1d2e3ff81 Let to find ${X11BASE}/include additionally for the case ${X11_TYPE}==native. 2013-11-23 12:35:39 +00:00
jperkin
a1ff659fd1 Use xcrun to determine the full path to the SDK, and use the headers from
that location in the new find-headers infrastructure when they have not
been installed into /usr/include.

This allows us to remove the hardcoded builtins, as they can now be
correctly determined automatically.
2013-11-23 11:42:38 +00:00
obache
6cf132141b Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
obache
8b1c2f06c4 Introduce find-headers.mk, ablility to find builtin header files.
Inspired by find-libs.mk and find-files.mk.
2013-11-23 09:06:09 +00:00
obache
e8e0733c16 Set Interix bultin gcc specific patths to COMPILER_{INCLUDE,LIB}_DIRS. 2013-11-23 08:55:28 +00:00
obache
2abcdf8fe9 fixes 3rdparty header path 2013-11-23 07:50:51 +00:00
obache
db2e8a4edc s/curses/terminfo/g 2013-11-19 11:43:19 +00:00
obache
d9a7ca3a6a s/termcap/terminfo/g 2013-11-19 11:40:39 +00:00
jakllsch
83b3d6ebca Ensure failure on failure of depends-fetch and depends-checksum targets. 2013-11-16 15:29:39 +00:00
shattered
9af65d20fe Fix a pasto (lzip is not lzcat). 2013-11-16 07:58:00 +00:00
shattered
aead224866 Decompress .lz files with lzip. 2013-11-16 07:45:26 +00:00
jakllsch
190884f976 Use correct verb in depends-fetch target information message. 2013-11-16 03:21:10 +00:00
obache
0a9a2dcc61 Prevent to strip -l{,n}curses for the case terminfo library name is itself. 2013-11-10 02:54:47 +00:00
obache
d7b94dedf9 Use CC if CCPATH is not set yet.
It's better than nothing.
2013-11-07 05:12:24 +00:00
obache
97c833001d Add `xz' command as a TOOL. 2013-11-06 13:12:50 +00:00
jperkin
bdb291bf7d OSX Mavericks and Xcode 5 no longer ship system headers in /usr/include, they
are instead moved to SDK-specific locations.  This breaks many builtin checks
which assume headers are in a fixed place.

Rather than trying to dig around finding where Xcode.app might be installed,
just override IS_BUILTIN for libraries that we know exist.
2013-11-01 12:22:32 +00:00
jperkin
4e818bf65a Use pthread.builtin.mk to do builtin checks rather than performing our
own version.
2013-11-01 12:19:29 +00:00
jperkin
83b6d9d86f Move platform-specific code to the platform file. 2013-11-01 11:58:48 +00:00
dholland
55abe65794 Add multiversion support for Lua modules. 2013-10-30 06:18:34 +00:00
joerg
003c6f07cc Newer versions of OSX don't ship with gnutar. From Jan Danielsson. 2013-10-26 15:31:26 +00:00
joerg
71bda04a66 Some Linux systems now use DT_RUNPATH, so match it here as well. 2013-10-25 14:11:13 +00:00
roy
8f3f1ac16f Fix for older bmake 2013-10-19 19:12:41 +00:00
roy
e77dfb89ac If TERMINFO or CURSES is already set, don't undefine them. 2013-10-16 16:51:28 +00:00
dholland
2d17a64f1f Add note to SUBST_SED noting that -E is not a standard sed option.
From Leonardo Taccari in followup to PR 48254.
2013-10-13 21:38:36 +00:00
wiz
3099b2b8eb Remove config.rpath override file and related code.
This file is from libtool-1.x, which is not in pkgsrc any longer
(using libtool-2.x since 2009). Also, it was only used for packages
using autoconf-2.13 AND libtool; I found three packages in pkgsrc with
that combination, and all of them still build on NetBSD-6.99.24/amd64
after this change.
2013-10-13 10:10:05 +00:00
richard
7b068a7990 add SunOS to OPSYS_SUPPORT_PTHREAD 2013-10-12 06:24:49 +00:00
roy
86683d30f0 Map terminfo libraries to the one we really want. 2013-10-11 14:32:07 +00:00
obache
4001756913 tell PKGMANDIR, PKGINFODIR and PKGLOCALEDIR to cmake. 2013-10-08 12:03:53 +00:00
obache
f59f658517 Note pcsc option used by net/freerdp. 2013-10-07 12:56:41 +00:00
wiz
177ce1f3bf Update to versions from autoconf-2.69. 2013-09-30 09:34:52 +00:00
obache
d0577acb64 drop support of removed MySQL 5.0. 2013-09-13 11:53:24 +00:00
ryoon
2160138920 Fix xargs option.
* For pkgsrc, FreeMiNT's GNU xargs should have -r option.
2013-09-12 13:19:06 +00:00
jperkin
948c742e84 Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
catman pages are installed with a suffix which matches their section
instead of the default '.0'.

Enable it by default on SunOS, which requires that particular layout.
2013-09-12 11:01:47 +00:00
jperkin
6e172f0c6b Switch to textproc/mdocml as the tool replacement provider for 'nroff'.
The nroff tool is primarily used to generate catman pages, however there
were circular dependency issues with using groff as the provider, as it
has a large number of dependencies, some of which depend on nroff.

mdocml is much smaller, has fewer dependencies, is BSD licensed, and is
just as capable in nroff mode.
2013-09-12 10:48:51 +00:00
adam
f4dd376ce6 Added databases/postgresql93 version 9.3.0 2013-09-10 15:35:30 +00:00
joerg
ceee4f2b25 Only add HAVE_LLVM / HAVE_GCC if they are already set. 2013-09-09 16:35:40 +00:00
wiz
6ba0de1f29 Finish git rename from scmgit to git. 2013-09-09 14:07:58 +00:00
joerg
493df9ea2b Pass down HAVE_LLVM and HAVE_GCC. 2013-09-08 16:32:17 +00:00
jperkin
6c97838c0c Introduce _OPSYS_PREFER.<pkg> variables as a way to set an advisory
per-platform default.  Previously PREFER.<pkg> was used, and as that
has the highest precedence it meant the defaults could not be overridden
with the PREFER_PKGSRC and PREFER_NATIVE user variables.

While here, set the openssl default for SunOS back to pkgsrc, now that
users who wish to use the builtin can do so via PREFER_NATIVE=openssl.
2013-09-04 15:14:45 +00:00
joerg
72725a3902 Spell the C compiler CCPATH as CC gets the wrapper threatment and might
not exist at this point yet.
2013-09-04 08:26:28 +00:00
rillig
054f4eb585 Up to now there was no way to get help on pkgsrc internal variables,
like _PKG_VARS. Since there exists documentation on these internal
variables, it should be found by "bmake help".
2013-08-31 21:27:53 +00:00
rillig
ba174d0c2f Small grammar fixes in the comment. 2013-08-31 20:54:07 +00:00
rillig
b8c82a0f46 Typo 2013-08-31 20:44:43 +00:00
rillig
7af0bf94c6 _PKG_DEBUG and _PKG_SILENT have been deprecated since 2007. 2013-08-31 20:22:49 +00:00
rillig
a4cf965b8f The pkg_info command is an internal detail and therefore should be
hidden behind the ${RUN} macro, just like all the other commands.
2013-08-31 20:17:37 +00:00
obache
df0b172e18 CPP is /bin/cpp on Cygwin. 2013-08-31 13:45:43 +00:00
richard
57973e7744 fix openssl builtin support, at least for solaris 2013-08-27 05:42:34 +00:00
obache
46fcbb4ee2 Tell "readlink" location for Cygwin, DragonFly, FreeBSD and Haiku. 2013-08-24 11:30:44 +00:00
tron
08dba64c9b Define "readlink" location for Linux and OpenBSD. 2013-08-24 10:12:52 +00:00
obache
982699e9c6 HP-UX has tbl as /usr/bin/tbl.
noticed by Paul Ackersviller.
2013-08-22 00:41:12 +00:00
tron
9aee4c96c4 NetBSD and Mac OS X both provide "readlink" under "/usr/bin/readlink". 2013-08-18 11:45:33 +00:00
richard
dbc7af4e8b add readlink to replaceable coreutils (for solaris, namely) 2013-08-17 12:00:37 +00:00
jperkin
816174fe8b Move platform-specific settings to the platform file. 2013-08-16 12:11:17 +00:00
jperkin
e10db1a20e Use the native mit-krb5 implementation by default on SunOS. 2013-08-16 12:10:31 +00:00
jperkin
9989c7d0a3 Change READLINE_DEFAULT to 'readline' if not using a builtin implementation,
there is just too much breakage with editline currently and most of the
advantages of editline are lost when not using a builtin version.
2013-08-16 11:31:50 +00:00
obache
38443c897d drop unwanted stage-package-remove before stage-package-create,
to avoid unwanted stage binary package removal/regeneration.
2013-08-10 06:05:57 +00:00
obache
23ef105d59 reduce dependencies, to avoid unwanted binary package regeneration.
* ${_BUILD_INFO_FILE} only depends on ${_PLIST_NOKEYWORDS}, not plist target.
* plist target is not required to create +CONTENTS
2013-08-10 06:03:37 +00:00
obache
279905b4a8 Note about groonga-httpd option. 2013-08-03 04:41:45 +00:00
adam
40a19cff11 Construct CC_VERSION differenty; fix for Xcode where clang reports itself as Apple LLVM 2013-07-31 06:37:27 +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
ryoon
cd3bc9c160 Fix typo.
libossaudio is unavailable.
2013-07-23 13:01:05 +00:00
richard
a4c2d10c86 add option vatnumber-suds 2013-07-20 16:50:13 +00:00
richard
e20e50d1ab add option pgadmin-db-designer 2013-07-20 05:12:13 +00:00
ryoon
acd20b1327 Fix builtin detection conditionals.
* Correct detection of following cases.
  non-editline/readline, editline/non-readline, and editline/readline.
* If builtin editline has header files in include/editline, create
  include/readline/* symlinks.
* Fix PR pkg/48062 with above fixes. Confirmed on Ubuntu Linux/amd64 13.04.
2013-07-19 14:35:37 +00:00
ryoon
0ced55d9f7 Set OS_VARIANT for OmniOS.
* OmniOS (SunOS variant) is shipped with readline 6.2. OS_VARIANT=OmniOS
  will be used by devel/readline/buildlink3.mk.
2013-07-19 14:29:16 +00:00
ryoon
c9784628bf Fix non-editline builtin case.
Many thanks for obache@.

* READLINE_DEFAULT is depends on builtin editline/readline type if possible.
* _READLINE_ACCEPTED is always "editline readline", both are provided.

Tested on OmniOS (builtin readline-6.2; with some modifications) and NetBSD.

XXX If buitin readline is incompatible, READLINE_DEFAULT is set as readline.
    According to devel/readline/builtin.mk, SunOS, Darwin, and Interix's
    readline is incompatible with GNU readline.
    This behavior should be fixed.
2013-07-18 14:59:04 +00:00
christos
0399286bdf Reset MAKELEVEL=0 to fix bad gmake/bsdmake interactions.
Our make(1) now sets $MAKELEVEL. While this should cause no harm, gmake
detects a non-zero $MAKELEVEL and automatically sets "w" in $MAKEFLAGS
for subordinate makes, in order to print the entry and exit directories.
Our make, does not understand -w, so it prints an error message and exits.

In order to catch this everywhere (since cmake for example can invoke
either our make or gmake depending on how it feels), we reset the variable
for any top level command. This effectively reverts to the behavior of
our make not setting $MAKELEVEL.
2013-07-15 20:22:15 +00:00
jperkin
5ff2de86e6 Default to using the native version of libexecinfo on SunOS. 2013-07-15 12:06:45 +00:00
jperkin
a2117b1be6 Revert back to avoiding the system bison. Whilst it is new enough to
satisfy the BISON_REQD check, it does not function correctly in the tools
environment when not called as /usr/bin/bison, as it is unable to find its
m4sugar.m4 without BISON_PKGDATADIR being set.

Whilst we could work around that in bison.mk I feel that's something of a
hack, and it is simpler and cleaner to just use the pkgsrc tool instead.
2013-07-15 08:51:21 +00:00
rodent
2dd7c2e393 Removed hub and leaf options for unrealircd. They no longer exist in the
package.
2013-07-15 04:13:32 +00:00
ryoon
580ac0ad77 Add buildlink/builtin mechanism for devel/editline and devel/readline.
With this change, .include "../../devel/readline/buildlink3.mk" with
USE_GNU_READLINE=yes should be replaced with
.include "../../devel/readline/buildlink3.mk",
and .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
should be replaced .include "../../mk/readline.buildlink3.mk".

USE_GNU_READLINE is removed.
2013-07-15 01:54:25 +00:00
obache
b57eb9cefd ${_SIZE_PKG_FILE} only require ${PLIST}, so restrict dependency to it.
This change avoid to regeneration the file, it may cause pemission issue
with PKG_DESTDIR_SUPPORT=destdir.
2013-07-13 09:10:35 +00:00
jperkin
02b10daeaf Rename the PKGNAME for the OPSYS-specific user packages to include the OPSYS,
so that they are correctly calculated as independent.

This avoids issues in bulk builds where the package version was taking
precedence and causing the wrong user package to be depended upon.
2013-07-12 10:41:58 +00:00
wiz
64ff313270 Describe two xterm options. 2013-07-11 11:44:23 +00:00
sno
245349f3df adding cc0-1.0-universal license (a public domain license by creative
commons).
2013-07-09 19:15:57 +00:00
jperkin
8730bbcdd8 Allow the system bison to be used. The comment that it was too old is
from 2006 and the OSX bison has been upgraded long since then.  In any
case, if the bison is too old, the BISON_REQD check will ensure that a
working version is pulled in if necessary.
2013-07-09 15:22:31 +00:00
tsutsui
e689df6f9e Describe py-numpy option, used by x11/py-gtk2. 2013-07-09 14:57:20 +00:00
jperkin
81408545ce Match against CC_VERSION rather than _GCC_VERSION, the latter is not defined
in the USE_PKGSRC_GCC case.
2013-07-09 10:13:43 +00:00
marino
7f074928a4 compiler.mk: Fix Ada packages when PKGSRC_COMPILER=clang
Only one compiler is used when "ada" is listed in LANGUAGES, and that
is the one built by the lang/gcc-aux source package.  When PKGSRC_COMPILER
is defined as anything else other than "gcc", the Ada packages fail to
build.  This can be seen when clang is used with CLANGBASE=${LOCALBASE}.

This straight-forward fix is to override the user specification of
PKGSRC_COMPILER when Ada is specified and define it as "gcc" in all cases.
Tested on NetBSD 6.1 amd64 with CLANGBASE=${LOCALBASE}
2013-07-07 09:06:23 +00:00
jperkin
f9143d0209 Fix print-PLIST with a custom PKGGNUDIR. 2013-07-05 15:31:54 +00:00
jperkin
37ecec314f Apply removal of -export-dynamic for SunOS across all of pkgsrc.
Avoids lots of copy/paste and fixes a bunch of packages which hadn't been
looked at yet.
2013-07-05 15:10:00 +00:00
spz
896cabd412 typo fix (one blank needed) 2013-07-04 22:35:06 +00:00
jperkin
5fb787362d Revert back to avoiding the native SunOS pax by default.
Whilst it works for the most part, the mk/extract/extract script expects
an -O flag which it does not support, and adding conditionals to that
script would be messy.

Fixes 5 direct packages.
2013-07-03 12:31:33 +00:00
wiz
05b7963576 Document qt4 option. 2013-07-03 08:18:22 +00:00
tsutsui
346726c49e Note fftw-fortran option. 2013-06-29 19:01:42 +00:00
jperkin
162169d637 Switch SunOS-5.11-x86_64 to openjdk7 by default. 2013-06-23 17:43:39 +00:00
obache
b4921626a1 Change condition of builtin termcap detection to same as termcap implementation
detection, so that `term fuction is in libc' and  `only shlib, no development
environment' will be handled correctly.
2013-06-17 05:44:27 +00:00
wiz
17eeef4b7b fix typo in comment. 2013-06-15 22:32:18 +00:00
asau
e72b2acc5d "fortran88" is unknown, make it "fortran77". 2013-06-15 21:52:11 +00:00
asau
f089014607 Stop advertising "fortran" support by GCC before 4.4
("fortran" denotes post-Fortran-77 dialects).
2013-06-15 21:50:43 +00:00
joerg
95bce4ce35 Do not switch Fortran compiler depending on the language requirement of
the package. For f2c, all Fortran 95+ programs are broken and it is
generally not possible to mix output from different Fortran compilers.
Default to g95 for now as fallback compiler.
2013-06-15 19:06:31 +00:00
jperkin
f6ecbfa866 Add openjdk7 support for SunOS-5.11-*, make it the default for i386. 2013-06-15 09:46:01 +00:00
dholland
43d96f98f9 Restore TEX_DEFAULT; even though it has only one value, it's used by
tex-related logic and breaks the build of e.g. graphics/asymptote.
2013-06-14 22:24:01 +00:00
wiz
b0b91b131a Some cleanup from ISIHARA Takanori in PR 47928. 2013-06-14 18:44:35 +00:00
tron
be7259c5f5 Remove work-arounds for Mac OS X Mountain Lion's broken "awk" as we are
no longer using it.
2013-06-14 15:09:47 +00:00
wiz
2abc136826 ftp://sunsite.uio.no/pub/X11/individual/ was last updated in 2010,
remove it from xorg mirror list.
2013-06-14 07:40:15 +00:00
mef
15250fe413 Clean up pkglint flagged issue:
(1) mail/wl/Makefile
   - Add LICENSE=	gnu-gpl-v2.
   - Use # none instead onf # defined (EMACS_BUILDLINK=).
   - Use set instead of @set.
(2) mail/wl/patches/patch-aa
   - Add comment from old cvs log.
(3) mail/wl/patches/patch-utils_ptexinfmt.el
   Avoid diff -c confusion by pkglint:
   -*** [info] Error code 255
   + *** [info] Error code 255
(4) mk/defaults/options.description 14 Jun 2013 04:48:54 -0000
   Add following option:
   +emacs-w3m     W3m browser extention.
2013-06-14 04:56:47 +00:00
jperkin
dca5f03664 Add USE_PKGSRC_GCC_RUNTIME support for gcc 4.8 and fix dependencies for
gcc packages.  Bail out if runtime support is requested but we do not
provide runtime libraries for the chosen compiler.
2013-06-13 10:45:46 +00:00
riastradh
6413b402de Don't let the pkgsrc TARGET_ARCH bleed into gmake's environment.
This is a provisional kludge to work around PR pkg/47838.  Sorry for
taking far too long to find a workaround that doesn't break various
other stuff too -- this duration of time was ridiculous, and it was
entirely my fault.

We can get rid of this kludge when we start using `env -i' in the
build phase or when we replace TARGET_ARCH by TARGET_MACHINE_PLATFORM
(and replace the make-internal variable MACHINE_ARCH by
MACHINE_PLATFORM -- that is part of what makes the logic in
pkgformat/pkg/depends.mk and bsd.prefs.mk so fragile).  However,
although I intend to do both of these things, they were deemed too
likely to cause too much fallout just before the freeze, so they'll
wait until after the freeze.
2013-06-12 20:37:43 +00:00
wiz
220e245fa7 Remove GNU_CONFIGURE_LIBDIR.
Rationale: undocumented, easily replaced with "CONFIGURE_ARGS+=--libdir="
and only used by 10 packages.
2013-06-12 12:35:35 +00:00
dholland
6bc2f78646 Add two additional hacks/workarounds to make netbsd-5's make accept the
USE_BUILTIN checking loop.
2013-06-08 20:23:02 +00:00
dholland
212b073ac8 After including builtin.mk files, go through BUILDLINK_TREE in tree order
and force USE_BUILTIN.pkg=no for packages that depend on packages where
USE_BUILTIN.pkg is no. The names of any such packages are accumulated in
the variable FORCED_PKGSRC for reference; this is currently undocumented
and could be dropped in the future.

This makes it a lot safer to install pkgsrc versions of selected X
libraries without switching wholesale to pkgsrc X; however, other
issues may still exist and caution is still advisable.

As seen on tech-pkg.

Also note: this may affect the builds of packages we don't realize are
affected and that haven't been revbumped. If you find one, let us know
so we can bump its version (or do that yourself) -- most likely this
change will produce in working, properly-linked packages that were
previously broken, but if problems arise please speak up.
2013-06-07 17:15:54 +00:00
obache
8748a0d54c Move show-depends-options again, to be worked form non-option packages. 2013-06-07 00:41:39 +00:00
obache
95528bcbb7 create X related tools also for X11_TYPE=native.
might fix PR pkg/47883.
2013-06-06 02:17:17 +00:00
obache
aa9b5d508c fixes usage of TOOLS_CREATE for X related tools, and those tools will be created
in ${TOOLS_DIR}/bin, same as other tools.
2013-06-05 13:26:35 +00:00
tron
65964dec38 Revert change to "PKG_SETENV":
1.) It breaks the build of "www/firefox" which gets upset if "SHELL" is
    not defined in the environment. There are probably more packages
    which similar problems.
2.) It breaks established use case like this one:

	export ALLOW_VULNERABLE_PACKAGES=yes
	cd pkgsrc/multimedia/ffmpeg2theora
	bmake install

    In this case the value of "ALLOW_VULNERABLE_PACKAGES" will not be
    passed to the build of "pkgsrc/multimedia/ffmpeg". And the build of
    this package will fail due to known vulnerabilities.
2013-06-05 08:19:57 +00:00
riastradh
d872ff9ca8 Make PKGSRC_SETENV sanitize the environment. 2013-06-03 23:27:14 +00:00
obache
b18f903179 more update for R1Alpha4, and let /boot/common/bin as optionlfy. 2013-06-02 06:51:08 +00:00
sbd
5e73890a4f Add the ability for a package to disable pbulk multi-package handling. 2013-06-02 04:41:39 +00:00
obache
e9e7ad2c60 hacked `file' command is not required anymore. 2013-06-02 03:06:44 +00:00
obache
433c214063 gmake is not in /bin on Haiku R1Alpha4. 2013-06-02 03:04:22 +00:00
sbd
940400e0dc Add mysql to pbulk multi-package support. 2013-06-02 00:10:29 +00:00
rillig
41ed4a2f2b Fixed typo in documentation. 2013-06-01 19:44:53 +00:00
rillig
fc5cceb9b3 /tmp/cvs02076b 2013-06-01 19:31:52 +00:00
joerg
f9c20e8f17 No trailing comma after -R 2013-05-29 13:19:02 +00:00
tsutsui
0c3b48c969 Add options ibus and mlterm-fb for x11/mlterm. 2013-05-26 18:20:29 +00:00
obache
5f5e2d61ad prevent to generate binary package in ${PACKAGES} from the side effect of
`install' with USE_DESTDIR=yes.
This changes prevent to unwanted overwite of existing binary packages with
test installation (`stage-install', `replace' & `undo-replace', and so on).

To do both `install' and `package', you can still use `package-install' target,
same as USE_DESTDIR=no.
2013-05-23 13:18:56 +00:00
joerg
7b69413290 Use -R as LINKER_RPATH_FLAG like GCC. The patches for lang/gcc47 and
lang/gcc48 don't work otherwise.
2013-05-22 12:13:35 +00:00
sbd
8ca714309a Use GMAKE_REQD in TOOLS_DEPENDS.gmake, bump GMAKE_REQD to 3.81. 2013-05-21 07:13:50 +00:00
rodent
4b300b63cf Add entries for fuse, inotify, and oggz. 2013-05-18 03:23:45 +00:00
ryoon
db46258642 * Remove PKGSRC_SHOW_PATCH_ERRORMSG, because it is not used in pkgsrc/mk.
* Set PATCH_DEBUG when PKG_DEVELOPER=yes.

No objection to
http://mail-index.netbsd.org/tech-pkg/2013/05/06/msg011276.html .
2013-05-18 01:58:32 +00:00
dsainty
3eec5c936c Fix a pasting botch in v1.54 that killed Linux i386 2013-05-17 03:40:02 +00:00
jperkin
0b70154faa _OPSYS_SYSTEM_RPATH must match _OPSYS_LIB_DIRS or else the buildlink
substitutions will not be correct.

Fixes issue with ABI=64 where /usr/lib/amd64 was being exposed, but
packages will need to be rebuilt for the change to take effect.
2013-05-16 17:09:07 +00:00
obache
ea6f1b43ce Use TOOLS_CMDLINE_SED instead of TOOLS_SED, to pass special arguments,
right now, `-b' option for Cygwin.
2013-05-16 08:31:07 +00:00
obache
1ec07a356f add `-b' (binary) option for SED to prevent special processing about CR+LF. 2013-05-16 08:28:11 +00:00
jperkin
55acebac82 Fix another :ts 2013-05-13 12:01:51 +00:00
jperkin
25f4620492 It is a common misconception that ${FOO:tsc} will split FOO on 'c',
however that is not the case.  To get that behaviour use ':S/c/ /g'.

Fixes a number of issues on various OPSYS introduced with the recent
COMPILER_* and SYSTEM_DEFAULT_RPATH abstractions.
2013-05-13 11:38:30 +00:00
riastradh
4fe7a07481 Strip minus for warning about disabling unsupported options. 2013-05-12 17:19:41 +00:00
obache
d07d88f983 file command usage is limited in pkgsrc now, so no need to use hacked one. 2013-05-12 06:19:21 +00:00
obache
add5c36964 drop `file' command from default USE_TOOLS list.
It is used in limited case, and does not exist by default on some platforms.
proposed at over 30 months ago, and no negative feedback (only one request).
2013-05-12 06:17:50 +00:00
obache
5e701c91cc hacked `file' command was introduced for text file check in SUBST,
but it is never used now, so back to true `file' command.
2013-05-12 06:07:45 +00:00
obache
ee6f879616 consider nb? in dependency pattern. 2013-05-12 05:24:28 +00:00
obache
6ac17b9215 Move show-depends-options, it is pkgformat independ target. 2013-05-12 05:13:37 +00:00
ryoon
e35468c714 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 .
2013-05-11 23:56:24 +00:00
rodent
619bfb388c Also, +static, for the building of static libraries. 2013-05-11 19:22:48 +00:00
rodent
70b7e192ae Added introspection (GObject Introspection) and xcursor options
descriptions.
2013-05-11 19:13:20 +00:00
riastradh
7c8690cd2a Warn, don't fail, on disabling an unsupported option. 2013-05-11 18:48:52 +00:00
obache
5c7ee638a6 check defined before using USE_LANGUAGES as condition. 2013-05-10 09:07:37 +00:00
riastradh
9e0c502480 Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.

ok agc
2013-05-09 23:37:25 +00:00
riastradh
ed8be66086 Use --sysroot in cpp/gcc/gxx cross-compiler wrappers.
Now that NetBSD supports --sysroot we don't need to mess with the
partial measures of -nostdinc, -isystem, &c.

ok agc
2013-05-09 23:35:29 +00:00
riastradh
2affbc5d5c Set NATIVE_CC/CC, NATIVE_CXX/CXX, and NATIVE_LD/LD for cross-builds.
The NATIVE_xyz versions are for packages that build tools that they
run natively but don't end up in the final product.

This is a provisional scheme -- it should be replaced eventually by
something more principled.

ok agc
2013-05-09 23:33:53 +00:00
joerg
33f8f94997 Use g95 as default Fortran compiler. Would be nice to use more modern
GCC, but that requires cleaning up mk/compiler/gcc.mk first.

Only include the fortran compiler file, if Fortran is actually
requested.
2013-05-09 14:01:08 +00:00
joerg
0e132f31a2 Split Fortran support from devel/libtool-base into a separate package
devel/libtool-fortran. If USE_LIBTOOL is present and Fortran is in
USE_LANGUAGES, include the new package.
2013-05-09 13:53:47 +00:00
fhajny
5b13ac5d1a Multi support for PostgreSQL packages (e.g. databases/postgresql-postgis). 2013-05-09 11:29:31 +00:00
wiz
48f70a42d7 Describe libchamplain option. 2013-05-07 11:08:57 +00:00
obache
028eb8d55a Insert a dummy SPACE before the first "msgstr" start with "\n", if "msgid"
is also start with "\n", but msgctxt is inserted before it, to avoid msgfmt(1)'s
format mismatch check (`msgid' and `msgstr' entries do not both begin with '\n')
2013-05-06 13:20:07 +00:00
rodent
c839138986 Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
obache
551502f0ad fixes obsolete pattern check, move to before push msgctxt. 2013-05-05 00:34:22 +00:00
obache
18d734fe9e Instead of drop msgctxt, treat same as gettext-tools>=0.15.
tested with editors/medit and graphics/gimp and context specified translate
messages are appeared.
2013-05-03 12:31:43 +00:00
obache
009dc8201c * bump required gettext-tools from pkgsrc to 0.15 to match required gettext-lib capability.
* prevent to restrict gettext-tools capability from builtin gettext-tools' one
  even if using it from pkgsrc.
2013-05-02 13:12:03 +00:00
adam
1eb2b2b51f Added f90 option for Fortran 90 support 2013-04-29 07:45:20 +00:00
obache
cebcc53b4c Fixes builtin dl prefix other than /usr. 2013-04-28 13:43:55 +00:00
obache
9b44c9f3f5 tell pthread of Haiku. 2013-04-28 13:40:17 +00:00
obache
62fd109fdb Let to find libraires in COMPILER_LIB_DIRS instead of hard coded paths. 2013-04-28 13:39:09 +00:00
obache
a257488eb5 * use SYSTEM_DEFAULT_RPATH/COMPILER_INCLUDE_DIRS/COMPILER_LIB_DIRS
instead of hard-coded /usr/include, /usr/lib, ... paths.
* allow empty BUILDLINK_PREFIX.${_pkg_}, for builtin packags not match such
  model (Haiku's system headers and libraries are in different hier).
2013-04-28 13:37:34 +00:00
obache
35d53d39b5 Introduce COMPILER_INCLUDE_DIRS, COMPILER_LIB_DIRS and SYSTEM_DEFAULT_RPATH.
default value are _OPSYS_INCLUDE_DIRS, _OPSYS_LIB_DIRS and _OPSYS_DEFAULT_RPATH,
defined in mk/platform/${OPSYS}.mk.
(maybe defined with compiler/development tools specific variables).
2013-04-28 13:21:47 +00:00
obache
5024bad0b1 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.
2013-04-28 12:53:56 +00:00
obache
ad404487da also reset LC_ALL as C. 2013-04-25 12:58:08 +00:00
sbd
acc4ece8b9 Use the ghostscript meta-package instead of ghostscript-gpl or
ghostscript-agpl.

Reverts revisions 1.255 and 1.254

   ----------------------------
   revision 1.255
   date: 2013/03/16 23:03:33;  author: dholland;  state: Exp;  lines: +3 -3
   print/ghostscript -> print/ghostscript-agpl
   ----------------------------
   revision 1.254
   date: 2013/03/16 21:47:14;  author: dholland;  state: Exp;  lines: +13 -3
   Choose ghostscript package for ghostscript tools based on whether
   gnu-agpl-* is in ACCEPTABLE_LICENSES.

   This is mostly the same as the old ghostscript type logic that was
   removed in version 1.223.
2013-04-24 09:55:03 +00:00
obache
9c745e8d0b tell location of builtin curses.h for Haiku. 2013-04-21 07:53:14 +00:00
uebayasi
86615a3bb5 Fix a harmless typo. 2013-04-21 03:51:27 +00:00
sbd
4277eba05d Use so magic to set _GCC_DIST_VERSION. 2013-04-20 07:36:17 +00:00
adam
6df113d1c2 Renaming GCC_DIST_VERSION to GCC48_DIST_VERSION 2013-04-19 16:34:46 +00:00
rodent
d9e9cde87a DEFAULT_ACCEPTABLE+=arphic-public; See:
http://www.gnu.org/licenses/license-list.html#Arphic
2013-04-19 11:25:26 +00:00
mspo
10de3cec11 use improved version from apb, works with parallel/paexec 2013-04-18 00:24:48 +00:00
obache
7a271a3091 * try to replace .so with .dll without `lib' prefix, like a plugins.
* also try to register DLL import library (.dll.a) from static library (.a).
2013-04-17 11:53:44 +00:00
adam
7ceb1dbb45 Enable usage of gcc-4.8 as PKGSRC_COMPILER 2013-04-17 09:48:30 +00:00
abs
9c775c76b5 Support MYSQL_VERSION_DEFAULT=56 2013-04-15 22:31:22 +00:00
cheusov
7ac40f0077 Added option vaapi 2013-04-14 00:54:59 +00:00
joerg
af3cbe2308 Allow running on systems where pkg_admin is not in PATH 2013-04-12 13:53:57 +00:00
obache
0826fce3ea tabify 2013-04-12 12:38:14 +00:00
obache
465a0376e7 Note some variables defined in ${OPSYS}.mk. 2013-04-08 13:29:26 +00:00
rodent
a7c67ab716 Removed comment regarding the changing of open-font-license to open-font.
Added ofl-v1.0 ofl-v1.1 and removed open-font-license.
2013-04-08 02:24:14 +00:00
tcort
bd48140716 tools.Minix.mk: Add new tools, update paths, and put in alpha order.
OK by wiz.
2013-04-07 20:04:17 +00:00
tez
dfb16e5d15 The newer versions of solaris studio compilers install by default into
/opt/solstudioNN.N rather than /opt/SUNWspro so look there too.
2013-04-06 18:09:43 +00:00
obache
3aa34f16a5 prevent to PREFER_PKGSRC any of x11 packages for Cygwin. 2013-04-06 11:11:56 +00:00
sbd
9d8345a50e Add the '-r' option to useradd/groupadd when no uid/git is given so that
a system account/group (differance id range) will be created.
2013-04-05 03:30:40 +00:00
adam
ea28815591 The PostgreSQL Global Development Group has released a security update to all current versions of the PostgreSQL database system, including versions 9.2.4, 9.1.9, 9.0.13, and 8.4.17. This update fixes a high-exposure security vulnerability in versions 9.0 and later. All users of the affected versions are strongly urged to apply the update immediately.
A major security issue fixed in this release, CVE-2013-1899, makes it possible for a connection request containing a database name that begins with "-" to be crafted that can damage or destroy files within a server's data directory. Anyone with access to the port the PostgreSQL server listens on can initiate this request.

Two lesser security fixes are also included in this release: CVE-2013-1900, wherein random numbers generated by contrib/pgcrypto functions may be easy for another database user to guess, and CVE-2013-1901, which mistakenly allows an unprivileged user to run commands that could interfere with in-progress backups. Finally, this release fixes two security issues with the graphical installers for Linux and Mac OS X: insecure passing of superuser passwords to a script, CVE-2013-1903 and the use of predictable filenames in /tmp CVE-2013-1902.
2013-04-04 21:08:25 +00:00
jperkin
05cb950dc2 Default to the native linux-pam implementation. It is available
since at least Leopard (10.5) and the security/PAM package does
not currently build, breaking PREFER_PKGSRC=yes.
2013-04-04 10:24:14 +00:00
obache
1b32452dd4 normalize LOWER_ARCH i?86 for Cygwin, same as Linux. 2013-04-03 13:45:49 +00:00
jperkin
4423fb7775 Fix typo in comment. 2013-04-03 09:35:19 +00:00
wiz
9588132c19 I think this might fix gcc47-libs.
XXX: Proper infrastructure support for gcc48 might need more work.
2013-04-02 22:24:03 +00:00
mspo
f58fdbac37 add some tricks to handle #!/usr/bin/env, do please improve 2013-04-02 00:28:57 +00:00
wiz
46efd90122 Add support for gcc48. From Kai-Uwe Eckhardt <kuehro@gmx.de>. 2013-04-01 21:06:57 +00:00
wiz
3f0e2dddc5 Fix two typos. 2013-04-01 19:07:40 +00:00
dholland
bb4b0ae820 print/ghostscript -> print/ghostscript-agpl 2013-03-16 23:03:33 +00:00
dholland
1cb23e953d Choose ghostscript package for ghostscript tools based on whether
gnu-agpl-* is in ACCEPTABLE_LICENSES.

This is mostly the same as the old ghostscript type logic that was
removed in version 1.223.
2013-03-16 21:47:14 +00:00
fhajny
82019069c7 Ensure that pkgsrc openssl tool is used if not using builtin openssl. 2013-03-15 12:35:03 +00:00
wiz
8ab805fe71 Add qpl-v1.0 (non-copyleft free) to default acceptable. 2013-03-14 16:19:30 +00:00
wiz
22fc8d9c32 Sort DEFAULT_ACCEPTABLE_LICENSES. 2013-03-14 16:18:54 +00:00
obache
39ffff7d30 Move definition of rubygems sites so that it is usable with packages
not using gem as installation but as archive.
2013-03-14 12:57:42 +00:00
taca
ac8eba7fe6 Add squid-backend-rock, squid-ipfw and squid-kerberos-helper. 2013-03-13 17:13:06 +00:00
obache
e5b374f8d0 bump required user_cygwin package to 20130313. 2013-03-13 12:38:19 +00:00
obache
b04688d2c9 note ndbm option 2013-03-13 03:36:44 +00:00
wiz
3ca0214c05 Add DESTDIR to error message in case of PLIST mismatch.
Noted by Edgar Fuß.
2013-03-08 15:32:52 +00:00
obache
adf03dd66f Temporary skip REQUIRE metadata collection for PE (Cygwin),
some DLL lead `ldd' command to hung up.
2013-03-07 13:15:29 +00:00
obache
b292fbe970 Switch to use own user_cygwin for _USER_DEPENDS. 2013-03-06 12:41:44 +00:00
obache
a0ce78347e switch to based on shlib-dylib.awk 2013-03-03 11:53:58 +00:00
wiz
830a67a0fc Bump mysql default to 55. 2013-03-02 20:33:03 +00:00
jperkin
50ada5fd89 Enable check-shlibs if the user supplies a working readelf, e.g. from binutils. 2013-03-01 16:58:51 +00:00
jperkin
883524d430 Create a wrapper for gfortran. 2013-03-01 13:27:38 +00:00
tcort
6933dd0064 Minix.mk: update GROUPADD/USERADD. OK by agc. 2013-03-01 00:09:20 +00:00
tcort
dffa197715 fuse.buildlink3.mk: add Minix support. PR pkg/45046 OK by agc 2013-03-01 00:08:31 +00:00
tcort
0dfbab4980 bsd.prefs.mk: add definitions for Minix. PR pkg/45046 OK by agc. 2013-03-01 00:07:46 +00:00
jperkin
bfeea1621d Add support for *.sh as jre-bin files. 2013-02-28 18:26:22 +00:00
obache
785bc5be4a create tools' aliases additionally with _OPSYS_EXE_SUFFIX.
In some situations, tools will be invoked with platform specific executable
suffix (ex. Perl5's Configure).
2013-02-27 12:09:39 +00:00
obache
ad51f051b0 introduce _OPSYS_EXE_SUFFIX, for platform specific executable suffix. 2013-02-27 12:03:49 +00:00
obache
72722c091d Drop Interix-ish, not for Cygwin. 2013-02-27 10:59:33 +00:00
obache
c236f11ea7 prevent to expand if dlname is empty. 2013-02-23 09:59:14 +00:00
obache
e41afcfbf9 prefer native X11 on Cygwin. 2013-02-23 05:41:04 +00:00
obache
c9b667c64a native X11BASE=/usr on Cygwin. 2013-02-23 02:59:56 +00:00
markd
977ba65ea4 In pkgsrc, 64bit linux libraries should install into lib rather than lib64.
Make sure cmake does this.
2013-02-22 22:45:12 +00:00
asau
430d458e92 Update default Emacs version to 24. 2013-02-22 22:31:23 +00:00
obache
381fd5cad9 Fix ROOT_USER/ROOT_GROUP for Cygwin to Administrators/Administrators (not using
its UID/GID), and sync platform privilege check with bootstrap script.
2013-02-22 13:39:31 +00:00
obache
4617fbb678 Allow to overwrite commnand of privilege check as _IS_ROOT_CMD. 2013-02-22 13:35:27 +00:00
obache
f68d1d940a if `id -u' failed, assume that numeric ID is specified (especially for Cygwin). 2013-02-21 13:33:10 +00:00
obache
cd901ade7c ${ID} is not defined here. 2013-02-21 11:19:27 +00:00
wiz
06ed9834e1 clang -dumpversion prints 4.2.1, which is not the intended content
of CC_VERSION.
Use clang --version | sed to get a more usable string.
2013-02-21 07:57:19 +00:00
obache
b0ab224f20 Use ${ID} instead of bare 'id'. 2013-02-20 13:08:26 +00:00
obache
aa7e337c12 purge jitterbug related items, misc/jitterbug had been removed in 2012Q3. 2013-02-20 13:04:47 +00:00
obache
6773d2ae90 Fixes ROOT_GROUP setting for Cygwin. 2013-02-20 12:42:43 +00:00
wiz
7de9eb7274 Fix continuation for previous. 2013-02-20 09:19:08 +00:00
wiz
84c6700514 Remove OPSYS and LOWER_OPSYS substitutions in print-PLIST;
nowadays they cause more PLIST breakage than they fix.
2013-02-20 08:45:05 +00:00
obache
354965a339 skip symbolic link for shlibs check, it may point to absolute path and currently
installed old version's file.
2013-02-20 06:00:51 +00:00