Commit graph

37 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +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
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
bjs
003f0a241a Add missing checksum for patch-aa. 2008-02-14 07:13:59 +00:00
bjs
59c7e8a33b Fix sanity check for MM_permission() in mm_global.c (from OSSP CVS).
Bump rev.
2008-02-14 06:19:38 +00:00
reed
df0b5304b0 Update BUILDLINK_API_DEPENDS.libmm to at least 1.4.0.
(And remove BUILDLINK_API_DEPENDS.libmm.)

Today, I upgrade apache and it failed with:

 Shared object "libmm.so.14" not found

I had libmm-1.3.1 with:

 /usr/pkg/lib/libmm.so.13
 /usr/pkg/lib/libmm.so.13.0.21

(The libmm update was done on 2005/11/24 -- I am surprised
this didn't hit anyone else.)
2007-09-07 17:16:43 +00:00
jnemeth
c4d722967e cjones@ is no longer a developer 2007-07-05 18:20:07 +00:00
wiz
0896615248 Update to 1.4.2:
Changes between 1.4.1 and 1.4.2 (10-Aug-2006 to 15-Aug-2006)

  *) Remove a trailing whitespace in mm.pod which
     confused pod2html(1) and generated bad output.
     [Neil Conway <neilc@samurai.com>]

 Changes between 1.4.0 and 1.4.1 (02-Sep-2005 to 10-Aug-2006)

  *) Add new API function MM_reset() and mm_reset().
     [Neil Conway <neilc@samurai.com>]

  *) Upgraded build environment to GNU shtool 2.0.6,
     GNU libtool 1.5.22 and GNU autoconf 2.60.
     [Ralf S. Engelschall]

  *) Fix spelling errors in manual page mm(3) and corrected
     description of mm_sizeof() function.
     [Neil Conway <neilc@samurai.com>]
2007-02-18 01:56:47 +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
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
wiz
c2b21dc95d Update to 1.4.0:
Changes between 1.3.1 and 1.4.0 (12-Sep-2003 to 02-Sep-2005)

  *) Optimize insertion of free memory chunks by merging with
     the spare area if possible to decrease memory fragmentation.

  *) Fix mm_realloc() function: If the memory chunk passed to mm_realloc()
     can't be extended and a new chunk must be allocated, the old memory
     is copied into the new chunk with a call to memcpy(3). However, the
     used size is the length of the new data and will cause memcpy(3) to
     access memory beyond the old data chunk's boundaries.
     [Kirk Petersen]

  *) Upgraded build environment to GNU Libtool 1.5.20 and GNU shtool 2.0.2
     [Ralf S. Engelschall]

  *) Updated all copyright messages for year 2005.
     [Ralf S. Engelschall]
2005-11-24 18:54:51 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
adam
7c6e8f6fe8 Changes 1.3.1:
*) Upgraded build environment to GNU Shtool 2.0.1,
     GNU Libtool 1.5.8 and Autoconf 2.59.

Changes 1.3.0:
  *) Correctly cleanup under MM_SHMT_MMZERO in case of a shared
     memory segment creation error.
  *) Close the filedescriptor of the underlying object immediately
     after mmap(2)'ing it in case of MM_SHMT_MMPOSX, MM_SHMT_MMZERO
     and MM_SHMT_MMFILE.
2004-11-25 14:19:06 +00:00
jlam
6a8fdf8714 Set TEST_TARGET to allow running the package's own self-tests. 2004-11-18 15:51:35 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
aa3e858c8e Unused. 2004-05-09 11:23:51 +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
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +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
jlam
d916fe5c4e bl3ify 2004-01-05 12:48:30 +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
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jlam
b8f002d248 Updated devel/libmm to 1.2.2. Changes from version 1.2.1 include:
*) Use "close-on-exec" semantic on internal file descriptors if
     underlying platform supports this feature. This makes sure the file
     descriptors are closed by the kernel upon execution of exec(3) by
     the application.
2002-12-31 19:06:57 +00:00
wiz
96c9bf94e8 Unused. 2002-10-09 18:28:19 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
mycroft
2beeef5b7f Crank dependency revision. 2002-08-01 00:53:20 +00:00
mycroft
85bcbed79a Update to mm 1.2.1. Only functional change is to fix a /tmp race condition
that created a local root hole.
2002-08-01 00:28:16 +00:00
jlam
7f5eec8fe4 Homepage and master site have moved to ossp.org. 2002-07-30 15:41:58 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
b476b722de Buildlinkify (trivially). 2001-10-23 14:40:36 +00:00
cjones
dcf21c044c Import libmm, a portable shared memory abstraction library.
Supposedly used in upcoming apache (2?), as well as mod_aolserver.
2001-07-14 23:06:26 +00:00