Commit graph

43 commits

Author SHA1 Message Date
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
obache
c28b1c803f Use find-headers instead of find-files to detect builtin header files. 2013-11-23 10:51:09 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
4326abf388 Add CONFLICTS with new man-pages package. For details, see
man-pages/Makefile.
2012-05-12 07:37:50 +00:00
schmonz
20ba7f3eb3 DESTDIR support (can't test without a sufficiently old Darwin, but it looks
right already).
2010-03-15 02:39:36 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
tron
f67bb4925a Add "-ld" to "LDFLAGS" automatically. This should help fixing PR pkg/36086. 2007-03-27 06:32:06 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
d71a98aa8e Avoid extra stat() calls by not repeatedly checking whether a file
exists on the disk -- we can just check whether a variable defined by
find-files.mk is "__nonexistent__" or not.
2006-03-30 18:06:17 +00:00
minskim
af252c5f04 Darwin>=7.0 does not need devel/dlcompat. 2005-06-26 13:11:22 +00:00
jlam
c63d77d4ec Typo. 2005-06-01 20:35:41 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
617a7af240 Add RMD160 checksum. 2005-05-25 11:34:41 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
e964ecaa0d Rename some variables to be more dlcompat-specific, and remove a
redundant conditional.
2004-12-05 07:01:19 +00:00
jlam
727ba81904 dlcompat is considered built-in only if both /usr/lib/libdl.* and
/usr/include/dlfcn.h exist.  Also, correct the setting of
USE_BUILTIN.dlcompat in the loop.
2004-12-05 06:59:21 +00:00
jlam
9636b9d697 Reverse the tests so that we actually check for the existence and not
the non-existence of the library -- this more accurately reflects what
we want to say.
2004-11-28 05:44:34 +00:00
jlam
9a38f17ac4 Standardize how we search for libraries in builtin.mk files. We define
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is
found in the base system.
2004-11-26 23:16:35 +00:00
jlam
36d37026bd dlopen.buildlink3.mk will automatically include dlcompat/buildlink3.mk
only on Darwin, so remove OPSYS check in dlcompat/buildlink3.mk and
make packages include dlopen.buildlink3.mk instead.
2004-11-26 09:39:30 +00:00
schmonz
e464fcb387 dlcompat was added to OS X "Panther". Add a builtin.mk to detect
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-07-18 09:35:08 +00:00
grant
b315137fde no longer used. 2004-05-09 14:24:16 +00:00
grant
f278604d87 use buildlink3. 2004-05-09 12:54:00 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
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-24 03:26:45 +00:00
adam
023dd11406 Changes 20030629: implement RTLD_NEXT and RTLD_DEFAULT 2004-01-08 16:08:22 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
schmonz
c00cabfbcb Update to dlcompat-20030522. Changes:
* 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-06-08 23:00:26 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jlam
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
schmonz
f8588d95f4 Explicitly request that buildlink2 not be used, as this package is
required en route to bootstrapping buildlink2 on Darwins old enough
to lack /bin/bash.
2002-11-20 10:37:17 +00:00
schmonz
b87a80c9ee Update to Nov. 17 release. From the changelog:
* 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-11-19 07:19:13 +00:00
wiz
a81ee8fa6a Unused. 2002-10-09 19:04:25 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
schmonz
f3eb65b2c2 Update to dlcompat-20020606. Changes:
* 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-22 00:54:36 +00:00
wiz
47d1c0f887 Add RCS Id. 2002-07-02 12:42:52 +00:00
schmonz
151ebe0153 Patch style police. 2002-05-17 17:10:10 +00:00
schmonz
636097337c Import dlcompat-20020508, from Jeff Putsch <jdputsch@attbi.com> in
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.
2002-05-17 16:56:02 +00:00