summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2014-04-07Define OBJECT_FMT for FreeBSD.asau1-1/+3
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
2014-04-07Fixes undefined variable references.obache1-3/+3
2014-04-06Create signed packages automatically if desired. It is disabled by default,khorben2-4/+34
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-05Add compiler support code for lang/gfortran Fortan 95/2003/2008 compilerryoon1-0/+117
from GCC.
2014-04-05Now intltool pkgsrc is always used, so force to use pkgsrc perl if intltool ↵obache1-1/+2
is required.
2014-04-03tar(1) in FreeBSD 5.4 and later are based on libarchive(3) library.obache1-1/+4
2014-03-31Remove mozilla-mirror.naist.jp from mozilla mirror sites.ryoon1-2/+1
It does not exist anymore. Pointed out by nonaka@, thank you.
2014-03-19Fix typo.wiz1-2/+2
2014-03-19MirBSD: remove -fvisibility=hidden until there is a version of gcc thatbsiegert1-2/+4
supports it.
2014-03-18Add European Union Public Licence and add it to default allowed licenses,wiz1-1/+2
since it's OSI-approved: http://opensource.org/licenses/EUPL-1.1 ok@ gdt
2014-03-14Add SCO OpenServer 5 and 6 support, 6 support is not tested yet.ryoon3-1/+154
2014-03-13Refelect change of RUBY_SRCDIR.taca1-3/+3
2014-03-12resolve evaluate-undefined-variable issue for old bmake.obache1-2/+2
2014-03-11Revert rev. 1.5ryoon1-3/+1
2014-03-11Revert rev. 1.5 and 1.6ryoon1-11/+2
The change introduced in rev. 1.5 disables portability check.
2014-03-11Fix "illegal reference to local variable word" error with lang/nawkryoon1-2/+11
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-11Introduce infrastructure support for SMF.jperkin6-4/+202
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-11Add initial support for alternative init systems.jperkin3-7/+26
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-11fixes for old bmake, undefined variable is not treated as empty.obache1-2/+2
2014-03-10check FAKE_NCURSES is defined before evaluate it.obache1-2/+2
2014-03-10Swap the ordering of the buildlink3 filters so that ${LOCALBASE} isjperkin1-13/+13
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-09Move the logic for testing if system curses supports the needed functionsroy3-8/+138
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-09Describe the udev option for a future dhcpcd releaseroy1-0/+1
2014-03-08Clean up target file if failed.obache1-4/+4
fixes PR pkg/48294.
2014-03-08Improve shlib name conversion for Cygwin.obache1-5/+17
* 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-07If LIBABISUFFIX is set add lib${LIBABISUFFIX}/pkgconfig to the defaultjperkin1-1/+4
pkg-config search path, required on Red Hat Linux.
2014-03-07Avoid the default PREFER_PKGSRC when using native X11_TYPE on Linux.jperkin1-1/+4
2014-03-07Check ${X11BASE}/bin/bdftopcf exists before blindly using it, not alljperkin1-2/+2
distributions include it.
2014-03-07When building 32-bit packages on x86_64 GNU ld isn't smart enough tojperkin1-1/+8
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-07Detect newer RedHat distributions.jperkin1-2/+2
2014-03-06Variable override is confusing.uebayasi1-6/+6
2014-03-06Wrap not only ld but also ar and ranlib.uebayasi1-1/+5
2014-03-06Provide uniq(1) as a TOOLS.uebayasi21-21/+46
2014-03-03Use PKGNAME_NOREV as a part of default WRKSRC if DISTNAME is not defined.obache1-2/+2
2014-03-02Document EXTRACT_ENVobache1-1/+4
2014-03-02loose mandantory DISTNAME.obache2-4/+10
2014-03-02Skip automatic shlib permission fix for files in CHECK_SHLIBS_SKIP.obache1-1/+5
2014-03-02Imprement CHECK_SHLIBS_SKIP, same as other CHECK_*_SKIP.obache1-1/+20
2014-03-01Fixes floating point exceptions on VAX.jklos1-1/+3
2014-02-27fixes copy & paste fault for xz.obache1-2/+2
2014-02-26Remove special handling of -v in the wrappers.jperkin1-3/+2
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-22Use ${NETBSD_LOGIN_NAME} for ssh.obache1-3/+4
2014-02-22Use .elif, not .else ifryoon1-2/+2
2014-02-20Support X11BASE?=/usr for native X11 on RedHat and derivatives.jperkin1-1/+3
2014-02-20Prefer the native libexecinfo implementation by default.jperkin1-4/+5
2014-02-20Prefer the native libinotify implementation by default.jperkin1-1/+2
2014-02-20Add upload-distfiles target for PKG_DEVELOPER, for uploading missing distfilesobache1-2/+50
to our backup ftp server.
2014-02-20Prevent _CHECK_FILES_{PRE,POST} to include check-files-{pre,post}-messageobache1-5/+5
target, it is unwanted in check-files-clean target.
2014-02-19Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS.jperkin2-4/+14
2014-02-14document _OPSYS_PREFER.<pkg>obache1-1/+4