setting to "no" in /etc/mk.conf. (Default is "yes" on most platform.)
- Correct condition of including pthread.buildlink3.mk.
Tested on NetBSD current, SuSE Linux 9.3 and DragonFly BSD 1.6.0.
Thanks for advise from Vincent Hourdin and Joerg Sonnenberger.
pkgsrc changes:
* Add RUBY_DYNAMIC_DIRS which cause generating dynamic PLIST entries.
* Move using buildlinks to rubyversion.mk.
* Merge converters/ruby-iconv to ruby18-base.
Ruby changes:
* too may, see ChangeLog file or
http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog
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
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).
"/bin/env ruby" in bang line. It was broken after switching to use subst
frame work.
The problem was noted by OBATA Akio via private mail, thanks much.
- Replace LOCALBASE with PREFIX.
- Add RUBY_RIDIR, RUBY_BASERIDIR, RUBY_SYSRIDIR and RUBY_SITERIDIR
for document data directories of RI.
- Add RUBY_VERSION and RUBY_VERSION_DEFAULT to MAKEFLAGS.
- More Ruby related variables to substitution variables.
- Don't set RUBY_VERSION_DEFAULT if it is already defined.
o Change DIST_SUBDIR handling; introduce USE_RUBY_DIST_SUBDIR and set
DIST_SUBDIR if USE_RUBY_DIST_SUBDIR is defined to /[yY][eE][sS]/.
o Add more macros to replace in FILES_SUBST, MESSAGE_SUBST and PLIST_SUBST.