summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-11-26Match NetBSD-2.x_RCn as well as NetBSD-2.x.jlam1-2/+3
2004-11-26Move the section that defines DLOPEN_REQUIRE_PTHREAD outside of thejlam1-22/+22
CHECK_BUILTIN.dl-protected section so that it's value can be usd after dlopen.buildlink3.mk is included. This should fix PR pkg/28422.
2004-11-26Check that USE_BUILTIN.dl is "yes", not that it's just defined.jlam1-2/+2
2004-11-26Don't auto-add -ldl to LIBS since most GNU configure scripts alreadyjlam1-2/+6
check for this condition.
2004-11-26Don't append BUILDLINK_CFLAGS.pthread to itself if pthread.builtin.mkjlam1-1/+2
gets included multiple times.
2004-11-26Move all dlopen-handling code into dlopen.{builtin,buildlink3}.mk.jlam2-12/+6
2004-11-26More tightly integrate the OSF1 changes into pthread.builtin.mk by usingjlam1-24/+17
more feature tests instead of OPSYS tests.
2004-11-26Split dlopen.buildlink3.mk into two files: dlopen.buildlink3.mk, whichjlam2-36/+98
is included by packages that use dlopen(), and dlopen.builtin.mk, which checks for the presence of built-in dl*() functions. On Darwin, including dlopen.buildlink3.mk will cause the devel/dlcompat package to be used if the base system lacks a dlcompat library.
2004-11-26Fix the "MACHINE_PLATFORM" patterns by appending "-*".jlam1-3/+3
2004-11-26Define DL_{CFLAGS,LDFLAGS,LIBS} as compiler/linker flags for buildingjlam1-1/+25
or linking code that uses dl*() functions. Also re-structure a bit to pave the way for a future dlopen.builtin.mk that handles -ldl on some platforms and dlcompat on Darwin.
2004-11-26Missing a make variable modifier.jlam1-2/+2
2004-11-26Add missing quotes.jlam1-3/+3
2004-11-25Don't recursively define _DLOPEN_REQUIRE_PTHREADS.jlam1-2/+2
2004-11-25Perl is all about loadable perl modules, so include dlopen.buildlink3.mk.jlam1-11/+1
If we include pthread.buildlink3.mk, then build with Perl ithreads support. Bump the PKGREVISION. Nuke the perl58-thread package. The perl package can now be forcibly built with thread support by setting PERL5_USE_THREADS to "yes".
2004-11-25Only include pthreads if we prefer native pthreads. This allows buildingjlam1-1/+3
pkgsrc without any pthreads if we don't want to.
2004-11-25dlopen.buildlink3.mk should be added to packages that use dlopen() tojlam2-1/+44
load shared objects. Some platforms require pthreads to be linked into the application if it uses dlopen() or else the applications will core dump when they dlopen a shared module that _is_ linked with pthread support. Including dlopen.buildlink3.mk in a package Makefile will cause pthread.buildlink3.mk to also be included. It is up to the package to ensure that PTHREAD_{CFLAGS,LDFLAGS,LIBS} (defined by pthread.buildlink3.mk) are passed to the compiler when building/linking the applications, possibly by setting PTHREAD_AUTO_VARS to "yes" in the package Makefile.
2004-11-25Default USE_GIF to "yes". This affects graphics/tiff and x11/qt1,jlam1-2/+2
which will now be built by default with the ability to write LZW-compressed files.
2004-11-25Default PTHREAD_AUTO_VARS to the safer value of "no". Most packagesjlam1-2/+2
that use pthreads already implement their own probes for pthreads, so we don't need to auto-add the compiler/linker flags.
2004-11-24Sync MASTER_SITE_SOURCEFORGE with reality.wiz1-4/+4
2004-11-23Don't hard-code "lang/perl58". Instead, use the value of PERL5_PKGSRCDIRjlam2-4/+6
which is computed based on whether perl or perl-thread should be the default.
2004-11-23Fix the find command used to print out all of the .broken* files. It nowjlam1-2/+2
prints out both the .broken.html and .broken.work.html files instead of just the latter.
2004-11-23Use CCPATH instead of referring to the C compiler by its full path injlam5-20/+20
multiple places.
2004-11-23Whitespace changes.jlam2-18/+18
2004-11-23add {CC,CXX,FC,F77}PATH variables which give the complete path anddmcmahill5-5/+17
name of the {CC,CXX,FC,F77} compilers. These will be used by pkgs which need to know which compiler and where it is at run time. Approved by jlam@
2004-11-22Now that no package uses USE_GCC_SHLIB any longer, remove supportwiz2-21/+8
for it from compiler.mk. Move the variable of the same name used by compiler/gcc.mk and the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-22Remove a duplicate gnome mirror, and fix path on a second one.wiz1-3/+2
2004-11-22Change perlfiles var to look for files from perl*,wiz1-2/+2
not only perl, so that perl-thread files are not marked as leftovers.
2004-11-20add OSF1 bits.grant1-0/+1020
2004-11-20Add AMANDA_TMPkim1-1/+6
2004-11-20quieten spurious broken pipe output from cc.grant1-4/+4
2004-11-20add pthread glue for OSF1, patch from Tobias Nygren.grant1-1/+7
2004-11-20backout cvs misfiregrant1-2/+1
2004-11-20add framework support for Tru64 and the Compaq C compiler.grant9-7/+397
patches provided by Tobias Nygren <tnn at netilium dot org> with minor changes by me.
2004-11-19Remove PERL5_USE_THREADS setting now that the default is perl58-thread.tv1-4/+1
2004-11-18OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one.xtraeme1-2/+2
2004-11-18OpenBSD was fork()ed from NetBSD, so this uses -lossaudio as well.xtraeme1-2/+2
2004-11-17Remove some obsolete/deprecated variables that have been in this filejlam1-43/+1
for over two years. They're officially dead now for the upcoming branch and beyond.
2004-11-17Move selection of the default perl58 (whether it is threaded or not) intojlam1-1/+11
bsd.pkg.mk. lang/perl58 now always builds perl58, while lang/perl58-thread builds perl58-thread (POLS). Fixes PR pkg/28343.
2004-11-17PTHREAD_AUTO_VARS is "yes" or "no" for whether the values of thejlam1-1/+10
variables PTHREAD_{CFLAGS,CPPFLAGS,LDFLAGS,LIBS} should be automatically added to their respective variables. Defaults to "yes". Packages that only require some parts to be linked the the pthreads compiler/linker options should set this to "no" and selectively add those options via patches to the right makefiles..
2004-11-17Generalize BUILDLINK_AUTO_LIBS.<pkg> to BUILDLINK_AUTO_VARS.<pkg>,jlam1-19/+20
which is "yes" or "no" for whether the values of any of BUILDLINK_{CPPFLAGS,CFLAGS,LDFLAGS,LIBS}.<pkg> should be appended automatically to their respective variables.
2004-11-17BUILDLINK_AUTO_LIBS.<pkg> is "yes" or "no" for whether BUILDLINK_LIBS.<pkg>jlam1-6/+13
should automatically be appended to LIBS. It defaults to "yes".
2004-11-17For some reason EVAL_PREFIX is not properly using the _DEFAULT values, sotv2-2/+4
re-add the ?= assignments. (Will be fixed properly later.)
2004-11-17Don't check _*PREFIX/bin for the requested compiler hook program. Iftv2-27/+17
PKGSRC_COMPILER requested it, assume that it's available, so that compilation will (properly) fail if the hook program is somehow not correctly installed.
2004-11-17If we don't need to link against -ldb or -ldb1 (because the DB functionsjlam1-3/+5
are a part of libc), then remove "-ldb" altogether. This should fix GNU configure scripts that assume you need to at least link against "-ldb".
2004-11-16Preserve the .work.log file from a broken build as .broken.work.htmljlam4-6/+34
in the package directory, and add a link to it from .broken.html at the point where the build fails. Also adjust the auxilliary scripts to handle/cleanup .broken.work.html files. This should enhance the ability of developers to debug broken builds by providing important information about what is happening as a build progresses and fails.
2004-11-16Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, alsotv13-40/+32
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS totv13-26/+14
platform/Darwin.mk (simplification).
2004-11-15If we're using db1, the create a compatibility header db_185.h that isjlam1-1/+10
in newer Berkeley DB packages.
2004-11-15Whitespace nits.jlam1-8/+8
2004-11-15Store the actual library options in BUILDLINK_LDADD.db1 and append thatjlam1-3/+4
to BUILDLINK_LIBS.db1. This ensures that BUILDLINK_LDADD.${BDB_TYPE} always resolves to the correct library options.