Commit graph

18 commits

Author SHA1 Message Date
taca
a3d2659e70 Refelect change of RUBY_SRCDIR. 2014-03-13 17:06:42 +00:00
dholland
1d8f45be1a Set BUILDLINK_API_DEPENDS correctly (with +=, not ?=) 2012-05-07 02:45:47 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
taca
2407cee3ae Overhaul buildlink3 processing of Ruby.
* Don't buildlink in ruby/rubyversion.mk any more but define
  RUBY_USE_PTHREAD (use of pthread).
* In ruby/buildlink3.mk, buildlink via mk/pthread.buildlink3.mk as to
  RUBY_USE_PTHREAD.
* Also the same logic in ruby/Makefile.common.
* Buildlink of bdb, libiconv, zlib, openssl in each ruby*-base/Makefile.
2012-03-21 15:40:12 +00:00
taca
9ef256fb42 Use RUBY_VERSION instead of RUBY_REQD. 2011-11-08 15:19:01 +00:00
taca
69e92d3f98 Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.
There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
2011-02-21 15:00:34 +00:00
taca
1a308fcb56 Use RUBY_API_VERSION for BUILDLINK_ABI_DEPENDS instead of RUBY_VERSION. 2010-09-10 03:20:31 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +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
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
taca
596490db6b Added BUILDLINK_RECOMMENDED with current version of ruby. 2005-11-02 07:44:02 +00:00
taca
b478568915 Buildlink ${RUBY} to ${BUILDLINK_DIR}/bin/ruby. It may help some
configure scripts to detect ruby executable.

This codes are kindly provided by jlam@.
2005-10-16 15:18:02 +00:00
taca
cf05ad3543 Correct content to really buildlink3.mk; fix many mistakes. 2005-03-06 16:44:04 +00:00
taca
02be725fe0 Remove includeing ncurses's buildlinke3.mk file. It was added
while creating new framework and completely obsoleted by separating
ruby-curses package.
2004-11-29 10:31:28 +00:00
taca
0767c9ac99 - set RUBY_REQD proper value.
- use RUBY_REQD in buildlink3.mk.

Fix RUBY_REQD undefined in some case.
2004-11-29 07:05:00 +00:00
taca
893eb044d9 Importing files for Ruby's new framework. 2004-11-27 13:57:20 +00:00