Commit graph

25 commits

Author SHA1 Message Date
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
bjs
076774dcc2 Add MAKE_JOBS_SAFE=no ... I thought I did this a long time ago, but evidently not. 2008-01-11 09:36:23 +00:00
bjs
24b8db3698 Add missing RCS id. 2007-09-25 03:13:01 +00:00
bjs
b8363a3146 Add -fno-strict-aliasing to CFLAGS for ${CC_VERSION:Mgcc-[34]*}. Bump rev.
ok'd by wiz@
2007-09-21 18:06:28 +00:00
wiz
4f4a027f7c Update to 1.60, provided by Blair Sadewitz in private mail.
* JS 1.6.0 is based on the same branch (1.8.0.9) as Firefox 1.5.0.9
and includes the same stability and security fixes.

* JS 1.6.0 includes support for JavaScript 1.6 with support for
  E4X, several new Array methods, and Array and String generics.
2007-08-12 03:04:32 +00:00
rillig
6fcd46b5c6 Fixed the build on Linux, at least for me. 2007-01-24 19:58:19 +00:00
rillig
aafdd14e04 Added a patch that disables fdlibm on all platforms, since the latter is
not in pkgsrc and therefore not generally available.

PKGREVISION++
2007-01-24 19:35:26 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
xtraeme
420cfea054 OPSYS needs bsd.prefs.mk, reported by Brandon Bergren in PR pkg/35214. 2006-12-09 00:22:00 +00:00
tron
b8bf7df98d Add thread support for Mac OS X. Bump package revision. 2006-12-05 18:04:18 +00:00
xtraeme
b5f122f8e1 Link libjs to libm too. 2006-12-05 16:31:11 +00:00
xtraeme
f06f151cf5 - Build the library with JS_THREADSAFE set (required by the upcoming
avidemux-2.3.0 pkg).
- Disable debug entirely, why do we need this?
- And more things I can't remember...

Bump PKGREVISION.
2006-12-03 10:11:49 +00:00
hubertf
cdfb109833 uname -m returns amd64, not x86_86.
Reported and tested by Blair Sadewitz (blair.sadewitz at gmail dot com)
2006-12-01 10:55:24 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
tron
562099cff4 Fix broken shared library build under Mac OS X. "avidemux2" (from the
"avidemux" package) now works with the "js" library provided by this
package. Bump package revision of this package.

Vital hint provided by Amitai Schlair in private e-mail.
2006-08-08 21:08:14 +00:00
tron
5b9c03c4fa Use correct share library suffix under Mac OS X (".dylib" instead of
".so") so that linking with the "libjs" shared library actually works.
Bump package revision because of this fix.
2006-08-08 09:50:33 +00:00
tron
fe740b1526 Make this build under Mac OS X. 2006-08-04 13:22:11 +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
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
388f58ae51 Fix spelling of DragonFly. Don't generate a common (!) errno, just
remove the junk for compatibility with strange Visual C environments.
Bump revision for the latter.
2006-02-26 20:36:58 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
xtraeme
345b920039 Initial import of spidermonkey-1.5.
SpiderMonkey is the code-name for the Mozilla's C implementation of
JavaScript.
2006-01-27 19:47:21 +00:00