summaryrefslogtreecommitdiff
path: root/devel/dlcompat
AgeCommit message (Collapse)AuthorFilesLines
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2004-12-05Rename some variables to be more dlcompat-specific, and remove ajlam1-7/+5
redundant conditional.
2004-12-05dlcompat is considered built-in only if both /usr/lib/libdl.* andjlam1-5/+3
/usr/include/dlfcn.h exist. Also, correct the setting of USE_BUILTIN.dlcompat in the loop.
2004-11-28Reverse the tests so that we actually check for the existence and notjlam1-6/+6
the non-existence of the library -- this more accurately reflects what we want to say.
2004-11-26Standardize how we search for libraries in builtin.mk files. We definejlam1-7/+12
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is found in the base system.
2004-11-26dlopen.buildlink3.mk will automatically include dlcompat/buildlink3.mkjlam1-5/+1
only on Darwin, so remove OPSYS check in dlcompat/buildlink3.mk and make packages include dlopen.buildlink3.mk instead.
2004-07-18dlcompat was added to OS X "Panther". Add a builtin.mk to detectschmonz2-2/+62
its presence. Bump BUILDLINK_DEPENDS to the latest version. Evaluate the contents of buildlink3.mk only if we're on Darwin, which lets us simply .include "../../devel/dlcompat/buildlink3.mk" anywhere we might need it without affecting other platforms.
2004-05-09no longer used.grant1-19/+0
2004-05-09use buildlink3.grant1-3/+3
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-2/+4
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-01-24Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. Injlam1-2/+2
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
2004-01-08Changes 20030629: implement RTLD_NEXT and RTLD_DEFAULTadam4-8/+23
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-9/+6
2004-01-03Initial sprinkling of work-in-progress buildlink3.mk files for using thejlam1-0/+19
buildlink3 framework.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-08Update to dlcompat-20030522. Changes:schmonz2-5/+5
* dlfcn.c, spec_notes.txt, dladdr.3, Makefile.in, dlopen.3.in: reformat ascii diagram, cleanup, avoid a deadlock if _init or _fini routines attempt to call dl* functions, just exits the app right now. Update the manpages. Finally made the decision to keep dlfunc out until I see a port which needs it, or it becomes part of the spec. Removed RTLD_SELF for similar reasons. * dlfcn.c, spec_notes.txt: small changes to dlfcn.c, added some notes about spec compliance. * dlfcn.c, dlfcn.h: Readded dlfunc, implemented RTLD_NEXT, RTLD_SELF and RTLD_DEFAULT for dlsym. Compiles against the freebsd 5.0 header, but I can't grab that because it would break binary compat, reran indent to fix problems with my use of a multitude of editors (if only they would stop crashing). * Makefile.in,configure.in,README,dlfcn.c,dlfnc.h,dlfcn_simple.c,dlopen.3.in: dlopen.3 should is generated by the makefile, not configure, dlfcn_simple.c some rewrite of the error code, preparation for release, remove the dlfunc I added on the 20th, I need to convince myself that it is worthwhile. * dlfcn.c, dlfcn.h: dynamically allocate space for all needed paths, add dlfunc, use the restric keyword for gcc >3, fix dladdr for MH_SPLIT_SEGS, use our own NSAddImage for the search linked libs case, as NSAddImage is stupid, and does not search DYLD_LIBRARY_PATH or match install_names. Use NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES for ppc in dlclose, and NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED if the object has any __mod_term_func's to avoid the bus error in atexit(3) with c++ static destructors. * dlfcn.c: reset the error string when an exported function is called. Do not write off the end of the search_paths array, increase MAX_SEARCH_PATHS to 128. This needs to be looked at again, the search paths array should be allocated dynamically so all the paths can be included. * dlfcn.c: Patch from Ben Hines for better error reporting in dlclose a non bundle. * dlfcn.c: Checking some code that has been sitting here for months. thread safe, removed crap code for c++ static initializer calling. Need to add something back later. * dlfcn_simple.c: Cleanup. * dlfcn.c: Quick hack to get sound working in artsd.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-3/+3
2002-12-22These packages are no longer needed to bootstrap buildlink2. Simplify thejlam1-3/+2
building of these packages by using buildlink2.
2002-11-20Explicitly request that buildlink2 not be used, as this package isschmonz1-1/+3
required en route to bootstrapping buildlink2 on Darwins old enough to lack /bin/bash.
2002-11-19Update to Nov. 17 release. From the changelog:schmonz4-22/+12
* dlfcn.c: Patch from Max Horn applied. Fixes some path issues, and code cleanup. * dlfcn.c: Lookup the NSAddImage etc stuff that was added in OS 10.1, so that the binary can be used on 10.0. It may or may not work, don't have a 10.0 system to try it. * dlfcn.c: Moving things around. * dlfcn.c: bugfixes * Makefile, README: Removed any and all finkisms. * dlfcn.c, Makefile: Prepend the underscore by default for dlsym. * Makefile: Made Makefile bsdmake compatible. * dlfcn.c dlfcn.h: First attempt at adding dladdr Not in the changelog: * added configure script * added manual pages
2002-10-09Unused.wiz1-32/+0
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam6-5/+24
buildlink2.mk files back into the main trunk.
2002-07-22Update to dlcompat-20020606. Changes:schmonz4-22/+11
* dlfcn.c: I broke finks xemacs, now fixed. * dlfcn.c: I really should read specs instead of making assumptions. dlopen(NULL,x) opens the _global_ context, not the application context. Fixed. Made dlsym_prepend_underscore work with stupidly long symbol names. * dlfcn.c: When opening a bundle for the second time, reuse the dlstatus struct from the previously closed version. Removed some debugging routines. * README: Minor update * dlfcn.c: Fixed my last "fix". Thanks to Darin Ohashi again. * dlfcn.c: Fixed bug reported by Darin Ohashi. dlopen a bundle close it, and dlopen same bundle again fails. Changes to the package itself: * USE_GMAKE is free on Darwin, so don't bother patching to avoid it.
2002-07-02Add RCS Id.wiz1-1/+1
2002-05-17Patch style police.schmonz2-2/+4
2002-05-17Import dlcompat-20020508, from Jeff Putsch <jdputsch@attbi.com> inschmonz6-0/+87
pkg/16104, with a few tweaks. This package is for Darwin/Mac OS X systems only. dlcompat provides the dlopen() interface for dynamic loading of modules for applications that need it. It is based on Apple code that was only released via Darwin CVS. This version comes from the Fink project.