summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2012-07-08compiler.mk/gcc.mk: Add support for USE_LANGUAGES+= adamarino3-8/+97
All recent packages featuring Ada code have a hard dependency on the lang/gnat-aux compiler package. The valid values for USE_LANGUAGES are c, c99, c++, fortran, fortran77, java, objc, so specifying a specific compiler was necessary up into now. One problem with lang/gnat-aux is that it is installed at ${LOCALBASE} where the lang/gccXX compilers are installed at ${LOCALBASE}/gccXX. The latter compilers have no possibility of sharing conflicting files unlike lang/gnat-aux. Rather than fundamentally update the GCC 4.6-based lang/gnat-aux to avoid these conflicts, a new Ada-capable compiler based on GCC 4.7 was created with the intent of being supported by mk/compiler.mk and mk/compiler/gcc.mk. The Ada packages will be effectively migrated from lang/gnat-aux to the new lang/gcc-aux compiler, but lang/gcc-aux will remain as a standalone package as it is the only GCC 4.6-based compiler that builds on DragonFly and serves it as a world and kernel compile option. In addition to the current language wrappers, lang/gcc-aux adds wrappers for "ada" (unique to gcc-aux, hardlinked to gcc driver), and the gnat, gnatmake, gnatbind, gnatlink, gnatchop, gnatprep, and gnatls programs. Supporting all of these allows the wrapper system to be used with Ada packages; currently wrappers are mostly disabled on them. The lang/gcc47 implicitly adds support for the "objc-c++" language by adding it to the USE_LANGUAGES list, but it wasn't really supported. An attempt was made to better support objc-c++, but this new enumeration probably still needs work or needs to be removed completely. Logic for Ada support: 1) All lang/gccXX compilers have version numbers ranging from 2.8.1 to 9. 2) lang/gcc-aux uses the release date as its version number in the form of YYYYMMDD with a minimum value of 20120614, so there is no version overlap. 3) When at least one element of USE_LANGUAGES is "ada", the value of 20120614 is added to the set of GCC_REQD which selects lang/gcc-aux. 4) The _NEED_NEWER_GCC check is disabled. It fails and isn't relevant; unless a package sets GCC_REQD over 20120614, the only way to select lang/gcc-aux is to specify the Ada language and only one compiler known to gcc.mk can support it.
2012-07-06Update pkg-config dependency to 0.25 (in pkgsrc since 2010) since evenwiz1-2/+2
with 0.23, it pulls in too many unnecessary dependencies. Fixes xev build in some configurations, reported by chuq.
2012-07-03Support NFS for directories which aren't enabled by default too.jperkin1-7/+7
2012-07-03Update for OSX Lion.jperkin1-20/+47
OSX hasn't included the ability to loopback mount for a while, so introduce NFS support, configurable via a new --mounthost option, and add additional directories required for proper support. This mostly works, however something is causing name lookups to fail in the chroot and it will currently only look at /etc/hosts. Clue appreciated here. Also fix /dev mounting/unmounting from the sandbox script.
2012-07-03Keep PREFER_PKGSRC for NetBSD and native X11R7. Noticed by wiz.joerg1-1/+2
2012-07-03Do not prefer expat on NetBSD, if the base system has it.joerg1-2/+5
2012-07-02Introduce OS_VARIANT. This variable can be used to differentiate operatingjperkin1-1/+10
systems which share the same base system but offer contrasting environments, for example the various illumos forks which all identify as "SunOS 5.11". Detect SmartOS and set OS_VARIANT accordingly.
2012-07-02Expand the list of full dependencies, so that the shared library checkjoerg3-4/+138
can work without further calls for indirect full dependencies.
2012-07-02Add amanda optionssbd1-0/+4
2012-06-27Ensure the Solaris native linker is used by default, avoids conflictsjperkin1-1/+10
where GNU ld is picked up first via $PATH.
2012-06-26Solaris needs -m32 for ABI=32 too, now that we have compilers which buildjperkin1-11/+2
64-bit by default.
2012-06-25Support strip in /usr/bin/strip, as per SmartOS.jperkin1-1/+5
2012-06-19Add user and group management functions for MirBSD to unbreak packagesbsiegert1-0/+150
that need to create new users. No effect for other platforms. ok wiz
2012-06-17Remove outdated comment about packages not getting a LICENSE set ifwiz1-4/+2
they are OSI/Free.
2012-06-16Comment out dependency on sysutils/user for user and group management.bsiegert1-4/+4
The user package was removed two years ago :/. Let's see how we can handle this better on MirBSD.
2012-06-16switch to SUSE_PREFER=12.1 for NetBSD>=6.obache1-7/+8
2012-06-16Revert last change.obache1-17/+2
Honor dicision of the copyright holder.
2012-06-15allow DSO in not only non-full dependency packages but also indirect full ↵obache1-2/+17
dependency.
2012-06-15Use native ksh93 on Solaris 11 and derivatives.jperkin1-1/+2
2012-06-14remove dead mirrors.zafer1-15/+1
2012-06-14Set a default Solaris/x86 ABI, restores previous behaviour when bootstrapjperkin1-1/+2
is ran without --abi.
2012-06-14Set NBPAX_PROGRAM_PREFIX?=nb by default, avoids problems on various platformsjperkin1-1/+6
where software assumes features of the native 'tar' and break when 'tar' is the NetBSD version. We are too close to the pkgsrc-2012Q2 branch to remove NBPAX_PROGRAM_PREFIX completely, but if it's apparent that no platforms need to override this default then it will be removed completely for the next branch.
2012-06-13Drop USE_INET6 => inet6 option binding.gdt1-3/+1
For a long time, the norm in pkgsrc was that packages had an option for IPv6 support "inet6", and this was not in PKG_SUGGESTED_OPTIONS. On NetBSD (and probably other BSD), USE_INET6 was defined in system mk files, and pkgsrc noticed this and enabled the inet6 option globally. But, in some environments, this did not happen. The inet6 option has been added to PKG_SUGGESTED_OPTIONS for almost all packages. This change decouples IPv6 support in pkgsrc from the base system. People building on systems that do not support IPv6, or who do not want IPv6 support in packages, can add PKG_DEFAULT_OPTIONS+= -inet6 to mk.conf. (Discussed for the last week on various lists, and ok wiz@.)
2012-06-11Describe remaining undocumented mplayer options.wiz1-0/+6
From Leonardo Taccari in private mail.
2012-06-11Set MACHINE_ARCH=x86_64 when ABI=64 on Solaris/x86, required for packagesjperkin1-3/+6
such as devel/gmp which do their own ABI determination. Full clean bulk build with this change: http://mail-index.netbsd.org/pkgsrc-bulk/2012/06/11/msg008920.html looks good.
2012-06-08Ignore SunPRO -errwarn flags to prevent it from being recognized as a entryobache1-1/+6
point option for `ld'.
2012-06-02Note xnp2-ia32 option used by emulators/xnp2.obache1-0/+1
2012-06-02Describe psiconv, sort.wiz1-1/+2
2012-06-01Fix indent, no functional change.jperkin1-3/+3
2012-06-01Default to X11_TYPE?=modular if OpenWin headers are not installed.jperkin1-1/+5
2012-05-30Remove GNU_PROGRAM_PREFIX as discussed in pkgsrc-users@cheusov2-21/+10
2012-05-29Extend shared library check to all files that match *.so.joerg1-2/+2
2012-05-27"rebuild" and "retest" targets were added (by analogy with "reinstall").cheusov4-4/+63
rebuild is a special target to re-run the build target. retest is a special target to re-run the test target.
2012-05-26Only pick up /sbin/ldconfig as ldconfig tool for the case OBJECT_FMT=="a.out".obache1-2/+2
Fixes PR 46445.
2012-05-24Use ?= for setting PKGSRC_SETENV to make it easy to override in mk.confabs1-2/+2
2012-05-24Treat /usr/lib${LIBABISUFFIX}} the same as /usr/lib and strip it out ofsbd1-4/+4
the runtime library search path.
2012-05-22mk/check/check-files.mk: Skip locale.aliasmarino1-1/+4
On DragonFly, packages like devel/doc++ and net/wap-utils were failing the file check during installation due to a present locale.alias file. Treat it the same as charset.alias.
2012-05-21Add native pax.jperkin1-2/+2
2012-05-20note fribidi option.obache1-0/+1
2012-05-20Note libind option (used by x11/mlterm).obache1-0/+1
2012-05-18Add native pax.jperkin1-1/+2
2012-05-18Add a global BUILDLINK_TRANSFORM to remove -ldl. This library is an emptybsiegert1-1/+3
static library for compatibility reasons. If a libtool library is linking against -ldl, libtool only builds it statically because there is no libdl.so. This prevented, at least, the build of devel/gobject-introspection. Add it globally because there is no reason anyone would want to link against libdl on MirBSD.
2012-05-16typo.jperkin1-2/+2
2012-05-14Partially revert previous: exclude kaffe on x86_64 again as it buildsdholland1-2/+3
but apparently does not work. I'm seeing two different problems on different machines, one where it can't find classes in jar files that are clearly there and one where it can't run even a trivial program without dying with a stack overflow.
2012-05-14remove stray blank line in previous commitdholland1-2/+1
2012-05-14Update _ONLY_FOR_PLATFORMS.kaffe from kaffe's makefile.dholland1-2/+4
2012-05-14prefer native X modules for OpenBSD using Xorg.obache1-1/+4
2012-05-13Allow to additional post-processing PLIST with PLIST_AWK and PLIST_AWK_ENV.obache1-1/+9
2012-05-13Set LD_TRACE_LOADED_OBJECTS_FMT{1,2} for OpenBSD so that output of ldd will beobache2-3/+6
expected format. workaround of PR 38838.
2012-05-12mk/java-vm.mk: Set DragonFly for openjdk7marino1-1/+2