Commit graph

8557 commits

Author SHA1 Message Date
obache
e4421e857e fixes for old bmake, undefined variable is not treated as empty. 2014-03-11 09:16:57 +00:00
obache
07b0df283c check FAKE_NCURSES is defined before evaluate it. 2014-03-10 12:57:03 +00:00
jperkin
1b3bb96be7 Swap the ordering of the buildlink3 filters so that ${LOCALBASE} is
transformed before ${X11BASE}.  On Red Hat Linux with native X11,
X11BASE=/usr and so any ${LOCALBASE} which is under that hierarchy
(e.g. the default /usr/pkg) will break in weird and wonderful ways.

In addition to this, use ${LIBABISUFFIX} where appropriate, and avoid
some extra transformations in the X11BASE=/usr case.

This along with other recent changes gets us to a very healthy >12k
packages with native X11 on Red Hat Linux 6 (and clones).
2014-03-10 12:06:35 +00:00
roy
1537427543 Move the logic for testing if system curses supports the needed functions
from devel/ncurses to the mk infrastructure.

FAKE_NCURSES=yes
Provides the system curses as ncurses.h and libncurses.

USE_CURSES=wide
Links to system curses if they provide wide support, otherwise ncursesw.
wide-curses in the package options also triggers this.
2014-03-09 10:15:32 +00:00
roy
acb5312220 Describe the udev option for a future dhcpcd release 2014-03-09 10:11:20 +00:00
obache
605cd68e59 Clean up target file if failed.
fixes PR pkg/48294.
2014-03-08 11:46:14 +00:00
obache
33f2f6860f Improve shlib name conversion for Cygwin.
* dll may be in ${PREFIX}/bin instead of ${PREFIX}/lib.
* dll name may be cygXXX.dll instead of libXXX.dll.
* versioning name may be foo-X.Y.Z.dll instead of foo.X.Y.Z.dll.
2014-03-08 08:52:25 +00:00
jperkin
31b2cb9944 If LIBABISUFFIX is set add lib${LIBABISUFFIX}/pkgconfig to the default
pkg-config search path, required on Red Hat Linux.
2014-03-07 15:15:17 +00:00
jperkin
0354a711ca Avoid the default PREFER_PKGSRC when using native X11_TYPE on Linux. 2014-03-07 15:10:33 +00:00
jperkin
2ea2447ce2 Check ${X11BASE}/bin/bdftopcf exists before blindly using it, not all
distributions include it.
2014-03-07 15:07:44 +00:00
jperkin
fd9c505e3a When building 32-bit packages on x86_64 GNU ld isn't smart enough to
figure out the target architecture based on the objects so we need to
explicitly set it.

This allows bootstrap --abi=32 to complete successfully on x86_64.
2014-03-07 15:03:15 +00:00
jperkin
a54399a1b3 Detect newer RedHat distributions. 2014-03-07 14:52:12 +00:00
uebayasi
36b92c2e0c Variable override is confusing. 2014-03-06 10:19:43 +00:00
uebayasi
117cbdcd8a Wrap not only ld but also ar and ranlib. 2014-03-06 10:15:54 +00:00
uebayasi
2e61c603ea Provide uniq(1) as a TOOLS. 2014-03-06 07:34:20 +00:00
obache
7c1e3ef362 Use PKGNAME_NOREV as a part of default WRKSRC if DISTNAME is not defined. 2014-03-03 03:21:16 +00:00
obache
c79cf317c3 Document EXTRACT_ENV 2014-03-02 09:45:42 +00:00
obache
b2f380436c loose mandantory DISTNAME. 2014-03-02 08:54:41 +00:00
obache
82f6d72f3a Skip automatic shlib permission fix for files in CHECK_SHLIBS_SKIP. 2014-03-02 07:18:36 +00:00
obache
e98bbce8cb Imprement CHECK_SHLIBS_SKIP, same as other CHECK_*_SKIP. 2014-03-02 05:43:16 +00:00
jklos
3e9df3ec81 Fixes floating point exceptions on VAX. 2014-03-01 17:57:01 +00:00
obache
0b31906c42 fixes copy & paste fault for xz. 2014-02-27 08:47:32 +00:00
jperkin
6792284e7a Remove special handling of -v in the wrappers.
This was originally introduced to work around some behaviour in the
libtool build, however these days it is actively harmful for a number of
packages, where removing additional arguments when -v is present on the
command line can break ABI detection (notably in CMake packages).

Instead, filter out any references to BUILDLINK_DIR from the libtool
scripts, as that should do the same job.

Retain the ability to run the 'scan' wrapper script, as it can be useful
in certain cases, and is required to support the scan-libtool script
anyway.
2014-02-26 10:40:46 +00:00
obache
b95f24e41f Use ${NETBSD_LOGIN_NAME} for ssh. 2014-02-22 13:11:22 +00:00
ryoon
379e58401a Use .elif, not .else if 2014-02-22 09:40:52 +00:00
jperkin
96fa724baf Support X11BASE?=/usr for native X11 on RedHat and derivatives. 2014-02-20 21:27:43 +00:00
jperkin
0872d5b92c Prefer the native libexecinfo implementation by default. 2014-02-20 11:03:09 +00:00
jperkin
189149a206 Prefer the native libinotify implementation by default. 2014-02-20 10:52:33 +00:00
obache
17f5e8a221 Add upload-distfiles target for PKG_DEVELOPER, for uploading missing distfiles
to our backup ftp server.
2014-02-20 10:12:22 +00:00
obache
0e0d049625 Prevent _CHECK_FILES_{PRE,POST} to include check-files-{pre,post}-message
target, it is unwanted in check-files-clean target.
2014-02-20 09:15:15 +00:00
jperkin
0959cc13c9 Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS. 2014-02-19 17:20:23 +00:00
obache
160d601c01 document _OPSYS_PREFER.<pkg> 2014-02-14 13:11:17 +00:00
obache
62d4cd4284 tell wget as a tool. 2014-02-14 07:43:46 +00:00
obache
07278083c6 fixes last commit, delete too aggressively :( 2014-02-14 07:14:23 +00:00
obache
3843e22c10 Prevent to force creation binary package in ${PACKAGES} for the case installing
dependency with USE_DESTDIR=yes unless creating binary packages.
2014-02-14 06:47:24 +00:00
obache
9564e4c80b Prevent to force creating binary package in ${PACKAGES} for the case installing
dependency with USE_DESTDIR=yes unless creating binary packages.
2014-02-14 06:39:32 +00:00
richard
3c9b2b2b8a support oss4 compatible boomer on OpenSolaris/Illumos platforms 2014-02-10 12:21:44 +00:00
obache
d761adbc39 add Haskell Cabal support files. 2014-02-05 07:02:30 +00:00
fhajny
faee6b0cb8 Make sure FC is set for g77/gfortran. Fixes runtime Fortran in math/R et al. 2014-02-04 12:11:57 +00:00
richard
d49d968741 update coreutils files to 8.22 2014-02-02 07:09:23 +00:00
obache
78c5ee0885 drop MPG123_ARM_FIXED64.
It was deprecated with mpg123-arm-fixed64 option and finally removed.
2014-01-30 12:37:56 +00:00
obache
6728af7a27 drop MOZILLA_USE_XFT.
Mozilla products use GTK2 in these days, and not used anywhere now.
2014-01-30 12:28:32 +00:00
obache
8694d1de23 drop MOZILLA_USE_LINUX.
No mozilla binary package using Linux binary is in pkgsrc now.
2014-01-30 12:24:49 +00:00
obache
e14e27b967 remove ZIP_ENCRYPTION.
archiver/zip1 had been removed.
2014-01-30 12:19:12 +00:00
obache
dcc1952c4f emacs.mk does not exists and EMACS_TYPE is used in emacs/modules.mk now. 2014-01-30 12:12:08 +00:00
obache
42b3683055 Note about HASKELL_COMPILER 2014-01-30 11:56:48 +00:00
obache
36a4d44c3c Introduce HAS_CONFIGURE_LIBDIR and GNU_CONFIGURE_LIBDIR for gnu configure
--libdir handling, same as for --mandir and --infodir.

Currently, HAS_CONFIGURE_LIBDIR=no by default unless libdir related variables
are set, but it will be switched to "yes" after all packages have been checked
(and SET_LIBDIR will be deprecated).
2014-01-28 11:32:30 +00:00
obache
e9c70574a4 Add MASTER_SITE_HASKELL_HACKAGE 2014-01-25 09:29:42 +00:00
obache
45a19863bb Move PY_PEP3147 specific PRINT_PLIST handling from common mk/plist/print-plist.mk
to lang/python/extension.mk, handling reverse way.
2014-01-24 12:42:52 +00:00
obache
dafd5bbdbc add dbus-glib, glib2 and libffi linux module support 2014-01-22 12:34:22 +00:00
wiz
b7ce74a7b4 Improve support for python-3.3. 2014-01-18 19:48:57 +00:00
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