summaryrefslogtreecommitdiff
path: root/mk/dlopen.buildlink3.mk
AgeCommit message (Collapse)AuthorFilesLines
2007-10-17Made the .include lines simpler.rillig1-3/+3
2007-06-04Added documentation.rillig1-1/+15
2007-04-27Set "BUILDLINK_LDFLAGS.dl" to "${BUILDLINK_LDFLAGS.dlcompat}" if we aretron1-1/+2
using the "dlcompat" package under Mac OS X. Another attempt to fix PR pkg/36086.
2007-02-10Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON.rillig1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2005-12-05Applied all quoting fixes found by "pkglint --autofix".rillig1-7/+7
2005-06-26Darwin>=7.0 does not need devel/dlcompat.minskim1-2/+2
2004-11-26Check that USE_BUILTIN.dl is "yes", not that it's just defined.jlam1-2/+2
2004-11-26Split dlopen.buildlink3.mk into two files: dlopen.buildlink3.mk, whichjlam1-36/+19
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-25Don't recursively define _DLOPEN_REQUIRE_PTHREADS.jlam1-2/+2
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() tojlam1-0/+35
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.