Commit graph

8535 commits

Author SHA1 Message Date
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