Commit graph

8535 commits

Author SHA1 Message Date
obache
7cfd42ee41 Check builtin perl usability
* if p5-* in {,BUILD_,TOOL_}DEPENDS, use perl5 from pkgsrc.
* check whether builtin perl satisfies PERL5_REQD, or use perl5 from pkgsrc.
* if buitin perl satisfies all {perl>=n.m,p5-foo>=x.y} style dependencies,
  get rid of such dependencies and use builtin perl.
2014-04-28 13:15:29 +00:00
ryoon
f44eb82239 Support per language gcc48 packages 2014-04-22 20:49:38 +00:00
obache
1c90fa81ef Some improvements and changes for Haskell Cabal support.
* HASKELL_ENABLE_LIBRARY_PROFILING and HASKELL_ENABLE_HADDOCK_DOCUMENTATION
  are "User-settable variables", not "Package-settable variables".
* Change to HASKELL_ENABLE_HADDOCK_DOCUMENTATION=yes by default.
* Add HASKELL_ENABLE_SHARED_LIBRARY("yes" by default), to enable shlib support.
* Add support for dynamically conditional PLIST entries handling for
  HASKELL_ENABLE_SHARED_LIBRARY and HASKELL_ENABLE_LIBRARY_PROFILING.

discussed with pho@ and szptvlfn@.
2014-04-18 13:42:59 +00:00
wiz
a77db50015 Add some option descriptions for musicpd. 2014-04-18 12:49:21 +00:00
obache
aca999743c Stop USE_BUINTIN.pkg=no escalation from IGNORE_PKG.pkg=YES.
affect to result of pkgtools/x11-links, normal build v.s. pbulk.
2014-04-17 01:57:31 +00:00
wiz
2ec39c6ebd Add libSDL and two dependencies. 2014-04-17 00:08:34 +00:00
wiz
ec5c09997e Add cecill-2.1 and allow it per default.
OSI-approved, see
http://opensource.org/licenses/CECILL-2.1
2014-04-16 14:41:21 +00:00
wiz
8c640bc103 Remove DEBUG_FLAGS variable that occurs exactly once in pkgsrc -- here.
Set INSTALL_UNSTRIPPED if you want the behaviour it affected.
2014-04-15 18:55:18 +00:00
wiz
896de600e4 describe opus option. 2014-04-12 06:45:16 +00:00
obache
407b1fe919 tell libidn module 2014-04-08 08:18:44 +00:00
asau
e372c26ad4 Define OBJECT_FMT for FreeBSD.
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
2014-04-07 17:25:16 +00:00
obache
28e8f67453 Fixes undefined variable references. 2014-04-07 05:25:03 +00:00
khorben
59e1335fa3 Create signed packages automatically if desired. It is disabled by default,
and documented in mk/defaults/mk.conf. Both the "gpg" and "x509" methods
supported by pkg_admin(1) are supported. With package signing enabled, a
staging, unsigned copy of the package is always created, and its final copy
to the package repository is done with pkg_admin(1) instead of "ln || cp".
Proper operation should otherwise not be affected.

Tested both with and without user-destdir support in packages.

"can live with it" joerg@

From EdgeBSD.
2014-04-06 15:04:16 +00:00
ryoon
b81777457a Add compiler support code for lang/gfortran Fortan 95/2003/2008 compiler
from GCC.
2014-04-05 23:57:08 +00:00
obache
46c92eb614 Now intltool pkgsrc is always used, so force to use pkgsrc perl if intltool is required. 2014-04-05 03:02:00 +00:00
obache
5fb18410e4 tar(1) in FreeBSD 5.4 and later are based on libarchive(3) library. 2014-04-03 07:12:01 +00:00
ryoon
8a325159d9 Remove mozilla-mirror.naist.jp from mozilla mirror sites.
It does not exist anymore.
Pointed out by nonaka@, thank you.
2014-03-31 09:06:29 +00:00
wiz
6129186986 Fix typo. 2014-03-19 21:45:12 +00:00
bsiegert
3d10a134a4 MirBSD: remove -fvisibility=hidden until there is a version of gcc that
supports it.
2014-03-19 16:44:08 +00:00
wiz
5a2384ea22 Add European Union Public Licence and add it to default allowed licenses,
since it's OSI-approved:
http://opensource.org/licenses/EUPL-1.1

ok@ gdt
2014-03-18 15:11:38 +00:00
ryoon
d2e4b66d48 Add SCO OpenServer 5 and 6 support, 6 support is not tested yet. 2014-03-14 22:05:18 +00:00
taca
a3d2659e70 Refelect change of RUBY_SRCDIR. 2014-03-13 17:06:42 +00:00
obache
6a15c197ba resolve evaluate-undefined-variable issue for old bmake. 2014-03-12 08:38:47 +00:00
ryoon
370bb25b4d Revert rev. 1.5 2014-03-11 23:27:40 +00:00
ryoon
88465f1339 Revert rev. 1.5 and 1.6
The change introduced in rev. 1.5 disables portability check.
2014-03-11 23:23:01 +00:00
ryoon
5b659c4f2a Fix "illegal reference to local variable word" error with lang/nawk
under Debian GNU/Linux 7.4.
lang/nawk's length(array) does not work as expected. So length(array) make
array as usual variable.
2014-03-11 21:32:11 +00:00
jperkin
e393ce6d94 Introduce infrastructure support for SMF.
SMF is the Service Management Facility, the default init system in
Solaris and derivatives since version 10.  This adds "smf" to the list
of supported INIT_SYSTEM types, and makes it the default init system on
platforms where it is available.

Packages can introduce SMF support by providing a manifest file, by
default located in ${FILESDIR}/smf/manifest.xml but manifests under
${WRKSRC} can be used too if the package source includes one.

SMF method scripts are supported too if required, using SMF_METHODS in a
similar manner to RCD_SCRIPTS.

Many parts of the SMF infrastructure are configurable, see mk/smf.mk for
the full details.
2014-03-11 14:07:04 +00:00
jperkin
b3106a0b77 Add initial support for alternative init systems.
This commit introduces an INIT_SYSTEM variable which will determine the
type of init system to be used on the target system, supporting "rc.d"
at this time.

The pkginstall infrastructure is changed to only install RCD_SCRIPTS if
INIT_SYSTEM is set to "rc.d", and PLIST entries for rc.d scripts are
now handled automatically based on RCD_SCRIPTS.
2014-03-11 13:45:07 +00:00
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