Commit graph

30 commits

Author SHA1 Message Date
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
1b0d713866 Don't require m4 for all packages, only for packages that use it. 2005-05-16 05:09:21 +00:00
jlam
cd4f3767d3 Change references to M4 & YACC into TOOLS_M4 & TOOLS_YACC to simplify
transition to new tools framework.
2005-05-13 16:54:12 +00:00
jlam
a00d2e4fdf Fix quoting in the values placed in CONFIGURE_ENV. 2005-05-13 16:35:02 +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
jmmv
7f211d083d Fix a typo in a path. 2004-07-17 23:04:35 +00:00
jmmv
a1f6f804cd Update to 0.16:
Sixteenth alpha version, released on 2004/07/04.

     o   Added preliminar support for work directories, which are used to put
         all temporary files created during a build in them.  This allows mak-
         ing the source tree read only, as it won't get polluted in any way.
         Note that existing packages may need some tweaks in their logic files
         to support this completely.  To help with testing, you should set the
         BT_USE_WORKDIR variable in bt_config.conf to `yes', so that this fea-
         ture is always used.

     o   Added a standard customizable `DOC' feature, which can be used by the
         end user to disable installation of documentation.  Existing packages
         may need to be fixed to honour this, though.

     o   bt_logic's core has been rewritten.  It is now much faster than
         before and has better dependency control, which solves many stupid
         bugs.

     o   A framework to run uninstalled programs (those which may be linked to
         uninstalled libraries) has been readded.  It is very similar to what
         libtool does with its .libs directory, and is completely transparent
         to the end user.

     o   Added (in fact, readded, as it was lost during the conversion to
         bt_logic) support to install packages in a fake root directory,
         needed in many package systems to support Buildtool-ized programs.

     o   Definitions' names (those written to the configuration header) have
         been changed to include the language name they refer to in them.
         This provides better support when the C and C++ compilers do not
         match.  Note that for this to take effect you need to set BT_REQUIRE
         to (at least) `0.16'; otherwise, the previous behavior is kept.

     o   Multiple fixes have been done in the bt_check_bits() function.

     o   Fixed the link command in bt_logic so that library directories
         appearing under the same project hierarchy (and manually specified by
         the -L flag) are not converted to an rpath.

     o   Fixed build under OpenBSD 3.4, HP-UX and Tru64.

     o   Added the bt_check_prog_make() check in bt_config, which looks for a
         make utility.

     o   Added the bt_echo() and bt_source() functions to bt_swcgen.

     o   The installation was changed to use unversioned directories and bina-
         ries.
2004-07-04 22:18:41 +00:00
minskim
f0ef3b072f Use PREFIX insead of LOCALBASE when specifying where the package is
installed.
2004-04-26 16:49:17 +00:00
jmmv
4d9432843c Not used any more. 2004-04-25 10:07:00 +00:00
jmmv
ee06632b54 Initial addition. 2004-04-25 10:04:08 +00:00
minskim
68feef3fbc bl3ify and enable pkgviews installation. 2004-03-07 01:47:01 +00:00
jmmv
84c7b36877 Update to 0.15:
Fifteenth alpha version, released on 2004/02/04.

     o   Finally dropped bt_make and bt_wrap, together with all compatibility
         code introduced around them.

     o   M4 is no longer needed.  It was introduced to clean up code, but it
         has proven to only ofuscate it.  As a side effect, bt_swcgen uses
         shell scripts instead of macro files to generate system wide configu-
         ration.

     o   Added some checks to bt_config: bt_check_hdr_time(),
         bt_check_prog_cc_flag() and bt_check_prog_cxx_flag().

     o   Support for the `+=' operator (append text to a variable) was added
         to bt_sh.  This can be used to simplify syntax when writting scripts.

     o   Support for pkgconfig files was added to bt_pkgflags.

     o   Support for pkgconfig command line syntax was added to bt_pkgflags
         (it is not exactly the same, but we now support operators in their
         real form, like `=' or `!=', plus spaces to separate keywords).

     o   Multiple portability problems fixed.
2004-02-04 17:12:09 +00:00
jmmv
6fd43e4130 Use GNU m4 under NetBSD 1.5.x to fix some problems *sigh*. 2003-09-15 14:49:44 +00:00
jmmv
9d3b9a8c16 Update to 0.14:
o   Added the `qt_program' type to bt_logic as a replacement for the old
         qt.moc.mk makefile.

     o   Added logging functionality to bt_logic, to help debugging problems
         present in it and to tell the developer what is happening during a
         build.

     o   Added a standard customizable directory (named `doc') where a package
         may install documents.  Package documents (those registered in the
         docs() function) will get installed in this directory by default.

     o   Removed all uses of the getopt(1) command.  This means that all mod-
         ules that still used it now support long options, aside from the
         standard short ones.

     o   Multiple bug fixes.
2003-09-05 18:50:32 +00:00
jmmv
fce70b7fd5 Update to 0.13:
o   All Buildtool control files (the ones in the buildtool.d subdirecto-
         ry) were unified into a single file, Generic.bt, which is placed in
         the top level directory for simplicity.  Everything is now controlled
         from shell functions defined in that file.  Buildtool will assist you
         in this conversion when needed.

     o   The bt_sh module was added, a very fast and small shell interpreter.

     o   The bt_logic module was extended (really, rewritten from scratch) to
         provide a shell based program to track dependancies and build tar-
         gets.  It still acts as a wrapper for compilation and linking com-
         mands.  As a side effect, the old code was readded as the bt_wrap
         module, needed to keep bt_make working until both can be safely re-
         moved.

     o   bt_config will now check for several programs to generate dependancy
         files.  Aside from the standard cpp(1), it also searches for fastdep,
         which will give better results on slow computers.

     o   Some bug fixes.
2003-08-31 19:29:06 +00:00
jmmv
2ebc01c651 Apply distribution patch and fix a minor problem (linker flags not beeing
passed to configure checks).  Bump PKGREVISION to 1.
2003-07-25 11:52:53 +00:00
jmmv
f616762b62 Update to 0.12:
Released on 2003/07/24, its state was alpha.

     o   The bt_wizard module was added, which creates the basic structure
         needed for a project based on a serie of interactive questions.

     o   Added cache support for many checks in bt_config.  This makes the
         program run a lot faster if checks are duplicated, and more impor-
         tant, lets the administrator define check results beforehand in the
         system wide bt_config.conf configuration file.

     o   The bt_swcgen module was added, which aids the system administrator
         in the creation of system-wide configuration files for bt_config
         (that is, files that store check results to avoid rechecking the same
         thing over and over again).

     o   The buildtool.d/config_init file was deprecated.  The entire configu-
         ration script is now read from a single file, buildtool.d/config, as
         the old framework was confusing and error prone.  Compatibility will
         be kept for some time.

     o   The TeXinfo documentation was removed.  The manual is now distributed
         in its own `buildtool-doc' package, written using Docbook/XML.

     o   The buildtool.spec file was added, needed to create RPM packages.  It
         actually supports building binary packages for RedHat Linux and SuSE
         Linux.

     o   Improved user experience: better usage messages and support for long
         options added.

     o   A developer mode was added to all configure scripts (disabled by de-
         fault).  It enables extra functionality during the build process,
         ideal for developers but which may annoy end users.

     o   Removed license description files.  bt_dist will suggest a COPYING
         file instead, as this is the most common practice suggested by li-
         censes.

     o   New standard checks in the bt_config module, specially
         bt_check_prog_m4() and bt_check_attribute().

     o   Code cleanup and simplification (using M4 in some places).
2003-07-24 10:12:30 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jmmv
110489e5b6 Convert to USE_NEW_TEXINFO. While here, pass ${SH}'s value to configure. 2003-06-20 10:22:56 +00:00
jmmv
c68a867fff Update to 0.11:
o   Lots of bugfixes.

     o   The bt_pkgflags module was added, which provides a replacement for
         the pkg-config utility (not compatible).

     o   The bt_msg_summary() function was added to bt_config, which provides
         an homogeneous way to output diagnostic messages at the end of the
         configuration process.

     o   The bt_err() function in bt_config does not accept error codes any
         more as its first argument.

     o   The buildtool(1) manpage was rewrote, including a simple user refer-
         ence so people can easily learn how to build packages without having
         to dig into the big manual.
2003-04-12 10:14:26 +00:00
jmmv
98389e2c65 Update to 0.10. Changes in this version:
o   The bt_logic module was added.  It parses each call to the compiler
         and linker, sorts arguments, adapts them to the current platform and
         runs the resulting converted command.  It also provides generation of
         dependancy files and installation of stuff.

     o   Initial support of shared libraries through bt_logic's framework.
         Buildtool can now build them on different platforms and use different
         naming schemes (needed for Darwin), set rpaths automatically, and
         more.  Note that this is still very experimental.

     o   New tunable features related with libraries are available for Build-
         tool-ized packages.  They are called SHARED and STATIC, and tune
         which kind of libraries you want to build.

     o   Standalone bt_mkdep and bt_install modules were removed.  All their
         functionality is now superseded by bt_logic.

     o   The x11.subr module was added to bt_config.  It provides checks for
         automatic detection of the X Window System.

     o   The pkgconfig.subr module was added to bt_config.  It provides a
         frontend to the pkg-config(1) program.  The bt_check_pkgflags() func-
         tion has been deprecated in favour of this module.

     o   Added functions to automate the detection of a C/C++ compilation en-
         vironment in bt_config.  They are called bt_check_env_c() and
         bt_check_env_cxx().
2003-02-05 18:19:38 +00:00
jmmv
3268bd4dfb Update to 0.9. Changes in this version:
o   Distribution documents converted to mdoc.

     o   Improved the bt_generate_output() function in bt_config; it now gen-
         erates an external script, called bt_output, that can be used to
         recreate files at any time.

     o   Implemented Buildtool version checking (BT_REQUIRE can be used now).
         We cannot wait until 1.0 to have this feature.

     o   Miscellaneous bug fixes (in bt_config and bt_lint).

     o   Automatically generated configuration files have been prefixed with
         `bt_' to avoid conflicts with user files.  For example, config.h is
         now named bt_config.h by default.

     o   Support for shared libraries has now been disabled by default.  It is
         still too incomplete.
2003-01-23 13:47:14 +00:00
jmmv
69dfab74c9 Use HAS_CONFIGURE and CONFIGURE_ARGS instead of defining our own do-configure
target. Not doing this means that variables like CFLAGS are not passed to the
script.
2003-01-09 19:20:18 +00:00
jmmv
041925f0c5 Regen: previous distribution file contained too much garbage and was
recreated.
2002-12-16 11:29:43 +00:00
jmmv
358991d52f Update buildtool to 0.8.
Changes in 0.8, state: alpha
----------------------------

    * Full  rewrite  of Buildtool's  own  build  system, which  should
      improve maintenance and portability.

    * New module bt_install, which provides a portable install program
      to not depend on specific system details to do installation.

    * New pthread.subr module  for bt_config, which provides functions
      for  automatic detection  of  a pthreads  implementation in  the
      current system.

    * Added checks  in bt_config: bt_check_func, to  check for generic
      functions (not  specific to any library),  and bt_check_type, to
      check for the presence of a generic type.

    * Fixes in  bt_config's loadable  module support. It  was severely
      broken in the previous version.
2002-12-15 17:22:37 +00:00
wiz
1b6de0dcfd Typo and grammar fixes. 2002-12-02 10:08:06 +00:00
jmmv
1feca93c1a Update buildtool to 0.7.
Changes in 0.7, state: alpha
----------------------------

    * New check bt_check_bits, which determines appropiate C types for
      different sizes.

    * New  check bt_check_hdr_std,  which  searches standard  headers.
      You *must* use this function,  as it is now required for further
      checks (improves portability).

    * Addition of the `siteinfo' target to the main program. It allows
      to get  specific information about where  Buildtool is installed
      by third party programs.

    * Default name  of Makefile's changed to  Makefile.bt. This allows
      Automake and Buildtool  to coexist in the same  package and also
      avoids  running  a regular  Make  tool  within a  Buildtool-ized
      package (which will confuse the user).

    * Build fixes under MacOS X (Darwin).

    * Minor bug fixes to run cleanly under Win32, using Cygwin.

    * Runtime fixes under GNU-based  systems (the `getopt' command did
      not behave properly).

While I'm here, fix some things: force the package to use TeXinfo 4.0 and
make it use PKG_SYSCONFDIR.
2002-11-30 15:01:06 +00:00
agc
3442d23566 Initial import of buildtool-0.6 into the NetBSD Packages Collection.
Provided in PR 18042 by Julio Merino.

Buildtool is a set of helper tools designed to make easy to
configure source packages and build them, also making them more
portable.

Buildtool can be tought as the BSD replacement of GNU automake,
autoconf and libtool.
2002-10-21 08:16:06 +00:00