Commit graph

8509 commits

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