Commit graph

47 commits

Author SHA1 Message Date
rillig
a01b4db940 pkgtools/createbuildlink: fix location of BUILDLINK_DEPMETHOD
Reported by Mayuresh in
https://mail-index.netbsd.org/pkgsrc-users/2022/07/08/msg035799.html.

Bump version.
2022-07-08 18:06:19 +00:00
rillig
9a194515dc pkgtools/createbuildlink: remove unused placeholder 2020-05-16 06:28:52 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
wiz
803c05a951 Add support for go packages to createbuildlink.
Bump version.
2015-12-29 21:21:20 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
wiz
b6d125ee08 Use Mt for email addresses. 2013-07-20 21:50:52 +00:00
wiz
1bbbe0a9e7 Teach createbuildlink to ignore graphics/hicolor-icon-theme/buildlink3.mk.
Idea from joerg.

PKGVERSION++
2010-01-13 15:27:52 +00:00
joerg
a5d4de0646 Drop @dirrm logic. Bump version. 2009-06-14 22:40:45 +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
80fbcad274 Avoid embedding $NetBSD\$ and similiar constructs in-tree files.
The strings would be picked up for +BUILD_VERSION and create mismatches
when using ident on the same files.
2007-07-10 15:27:57 +00:00
wiz
864541c7cf 3.13: add BUILDLINK_ORDER lines. 2006-07-12 13:29:03 +00:00
rillig
1d45d6bd4c Changed two lines in the generated buildlink3.mk files. For quite a long
time, the !empty(BUILDLINK_DEPTH:M+) lines confused me, so I changed
them to be ${BUILDLINK_DEPTH} == "+", which has the same effect. Changed
the version number to 3.12.
2006-05-13 11:29:46 +00:00
reed
d348169c00 Welcome to createbuildlink-3.11.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
2006-04-06 06:36:36 +00:00
rillig
619bb5ab6e Updated createbuildlink to 3.10.
The last line is now indented with <tab> instead of six spaces. This
prevents many pkglint warnings and also looks better.
2006-01-31 03:35:35 +00:00
wiz
e730c49186 3.9: Update for pkg-config path change. 2005-07-21 16:25:05 +00:00
tv
f4d628a604 3.8: When pulling existing .includes of buildlink3 files from the Makefile,
comment them out by default, and add a comment above them indicating that
only *directly* needed dependencies should be in the (edited, final) bl3
file.

This will hopefully encourage folks to reduce the amount of unnecessary bl3
recursion that is rampant in pkgsrc, making many packages "depend" directly
on APIs they never see nor use.
2004-10-15 14:41:11 +00:00
wiz
959e52f5a6 Fix typo. 2004-09-27 12:55:00 +00:00
rh
ca4f429d6f Update createbuildlink to 3.7. Properly escape '@exec ${MKDIR}' patterns
now that 'make print-PLIST' handles this.
2004-09-27 00:31:30 +00:00
rh
07e104452d Update createbuildlink to 3.6. This adds a '-p' option to automatically
create PLIST awk substitution patterns for directories created by the
current package.  This is particularly useful for base packages that
create a directory structure that is then used by subsequent (dependent)
packages.
2004-09-26 23:48:09 +00:00
jmmv
2e523147e9 Fix a minor typo. 2004-07-21 22:27:35 +00:00
wiz
7df01041ca buildlink2 -> buildlink3. 2004-07-06 23:39:40 +00:00
wiz
9f9244dd81 Remove support for creating buildlink2.mk files.
Make buildlink3.mk file output the default, and ignore any "-3" flags
on the command line for people who can't change their habits quickly.
Increase version to 3.5.
2004-07-06 23:18:04 +00:00
dmcmahill
50af634b67 use grep >/dev/null instead of grep -q for the benefit of solaris 2004-04-27 03:51:24 +00:00
jlam
3dce8fe104 Update pkgtools/createbuildlink to 3.4. Changes from version 3.3
include creating buildlink3.mk files that include other buildlink3.mk
files outside of the region that is protected against multiple inclusion.
This is required to fix a bug in properly ordering the packages listed
in BUILDLINK_PACKAGES.
2004-03-18 10:47:04 +00:00
jlam
43fa93841c Update pkgtools/createbuildlink to 3.3. Changes from version 3.2 include
fixes to the whitespace in the generated files to more closely match the
template buildlink3.mk file.
2004-03-06 15:11:22 +00:00
jlam
50d94a7e2c Update pkgtools/createbuildlink to 3.2. Changes from version 3.1 include
creating buildlink3.mk that are in line with the template in revision 1.101
of mk/buildlink3/bsd.buildlink3.mk.
2004-03-05 19:42:06 +00:00
jlam
36a14d50db Update pkgtools/createbuildlink to 3.1. Changes from version 3.0 include
generating buildlink3.mk files that only append to BUILDLINK_DEPENDS.*.
2004-02-10 03:36:55 +00:00
wiz
65be5cba5f Sort options. 2004-01-14 14:17:47 +00:00
rh
6978c69a8a Update createbuildlink to 3.0. This now adds -2 and -3 options to create
either buildlink2.mk or buildlink3.mk files.
2004-01-14 08:53:57 +00:00
uebayasi
8521a0316c Don't drop header files those extensions are >2 characters, e.g., "*.hpp".
Min Sik Kim in PR pkg/23834.

While here, "sort | uniq" -> "sort -u" in 2 places.
2003-12-22 01:15:49 +00:00
salo
b38902af45 Welcome to version 2.8.
- Do not list pkgconfig files as libraries.
- Save one grep and be more precise about removing
  pkgconfig and intltool buildlink2 file inclusions.
2003-10-15 00:18:05 +00:00
jmmv
9f1faec9e2 Update to 2.7:
- Do not include pkgconfig's nor intltool's dependancies in new generated bl2
  files.  These are *build* dependancies, and the package providing the bl2
  should not assume we will be using them.
2003-09-18 14:15:00 +00:00
rh
2ff0c5692e Update createbuildlink to 2.6. Changes include:
- use of ${MAKE} instead of 'make' in the script so this works on
      non-NetBSD systems as well
    - s/NetBSD/pkgsrc/ in the manual page
2003-04-29 01:36:08 +00:00
rh
d25619d624 Update createbuildlink to 2.5. This version now also recognises C++ header
files (.hh, .hp, .hpp, .H, .hxx, .h++) when joining includes.
2003-04-04 22:13:15 +00:00
uebayasi
a37165e271 Update to 2.5.
* Be careful not to print duplicate blanks around buildlinked
	  dependencies.
2003-01-09 02:21:30 +00:00
wiz
f1f36e7b61 Update to 2.3:
Do not install createbuildlink1 any longer -- the buildlink1 era is over.
2002-12-23 14:03:34 +00:00
rh
5b20add2de Properly quote environment variable in test statement. 2002-10-16 08:53:15 +00:00
rh
30cf40c883 Update createbuildlink to 2.2. Now includes a '-j' option to join together
PLISTed header files in a directory, listing them as '*.h'
2002-10-16 08:50:48 +00:00
rh
f407e7ef98 Update createbuildlink to 2.1. This adds some patterns to recognise AppKit
style Objective C headers and libraries.
2002-09-27 21:19:58 +00:00
rh
b056d10cd7 Update createbuildlink to 2.0. Now creates buildlink2.mk files. You can
use createbuildlink1 to still create old buildlink.mk files.
2002-09-06 00:36:14 +00:00
rh
0e393ec5ec Fix typo in previous commit that prevented the created rules from working
properly.
Bump version to 1.5
2002-05-11 11:52:05 +00:00
rh
3f5e7c5214 Update createbuildlink to 1.4. This fixes the following problems:
* when creating BUILDLINK_CONFIG_WRAPPER_SED we also need to create
	  a corresponding REPLACE_BUILDLINK_SED to reverse the effects

	* account for packages that set USE_X11BASE to an empty string.
2002-05-11 11:27:28 +00:00
rh
5b728a2271 Update createbuildlink to 1.3. Changes are:
* create BUILDLINK_CONFIG_WRAPPER_SED patterns if required

	* interpret "Makefile.common" as well as "Makefile" for packages
	  that share common information
2002-05-11 08:11:46 +00:00
rh
379ae4c13c Update createbuildlink to 1.2. This revision addresses a couple of styling
issues pointed out in private email by Thomas Klausner:
	* Include $PKGVERSION instead of RCS revision in script output
	* Add a few line breaks to make the output more readable
2002-05-05 23:23:34 +00:00
rh
3a10650452 Update createbuildlink to 1.1. Includes the following changes:
* -buildlink-config-wrapper is a hardcoded suffix in
          bsd.buildlink.mk.  Therefore, make sure the created config wapper
	  targets actually have this suffix.

	* Prevent pkgconfig logic from twice including
	  pkgconfig/buildlink.mk

	* Add missing \" in created sed rules

	* Include createbuildlink revision in created files
2002-05-05 00:00:37 +00:00
wiz
3394042bd8 Nits. 2002-04-29 11:12:35 +00:00
rh
e7b2154b81 Initial import of createbuildlink-1.0, a simple script that helps creating
a buildlink.mk from a package's Makefile and PLIST.

XXX: this is an attempt to make the creation of buildlink.mk files more
XXX: systematic and less error-prone than copying existing buildlink.mk
XXX: files and modifying them for a new package.  Any help in making this
XXX: script less simplistic and more versatile is gladly welcome!
2002-04-29 11:03:54 +00:00