Commit graph

90 commits

Author SHA1 Message Date
obache
aa4f36ba74 * set LICENSE (gnu-gpl-v2 AND gnu-lgpl-v2).
* add user-destdir installation support.
2011-04-16 07:47:00 +00:00
joerg
e43b008217 Drop @unexec for directory removal. 2009-06-14 18:34:00 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +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
tnn
e99aec31b2 PR 37949: Aleksey Cheusov: USE_TOOLS needs to be fixed in several packages 2008-02-04 19:52:54 +00:00
rillig
767714c37c Fixed pkglint and libtool warnings. 2007-02-15 14:45:40 +00:00
wulf
54dbf6eedd Added missing data type cast in opcode/h8300-dis.c causing build process
to fail
2006-12-29 23:00:32 +00:00
wulf
80a01b3770 Added missing data type casts 2006-12-29 22:47:13 +00:00
kristerw
c0cc169182 Update cross-binutils to 2.17.0.0.
Changes in 2.17:
* Add "-x NAME" to readelf in addition to "-x NUMBER".
* Add -i and -t switches to cxxfilt.  -i disables the display of implementation
  specific extra demangling information (if any) and -t disables the demangling
  of types.
* Add support for the "@<file>" syntax to the command lines of all tools, so
  that extra switches can be read from <file>.
* Add "-W/--dwarf" to objdump to display the contents of the DWARF
  debug sections.
* Add "-t/--section-details" to readelf to display section details.
  "-N/--full-section-name" is deprecated.
* powerpc-linux ld now supports a variant form of PLT and GOT for the security
  conscious.  This form will automatically be chosen when ld detects that all
  code in regular object files was generated by gcc -msecure-plt.  The old PLT
  and GOT may be forced by a new ld option, --bss-plt.
* Add "-i/--inlines" to addr2line to print enclosing scope information
  for inlined function chains, back to first non-inlined function.
* Add "-N/--full-section-name" to readelf to display full section name.
* Add "-M entry:<addr>" switch to objdump to specify a function entry address
  when disassembling VAX binaries.
* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
  to objcopy to convert local symbols into global symbols.

Changes in 2.16:
* Add "-g/--section-groups" to readelf to display section groups.
* objcopy recognizes two new options --strip-unneeded-symbol and
  --strip-unneeded-symbols, namely for use together with the wildcard
  matching the original --strip-symbol/--strip-symbols provided, but
  retaining any symbols matching but needed by relocations.
* readelf can now display address ranges from .debug_range sections.  This
  happens automatically when a DW_AT_range attribute is encountered.  The
  command line switch --debug-dump=Ranges (or -wR) can also be used to display
  the contents of the .debug_range section.
* nm and objdump now have a switch "--special-syms" to enable the displaying of
  symbols which the target considers to be special.  By default these symbols
  are no longer displayed.  Currently the only special symbols are the Mapping
  symbols used by the ARM port to mark transitions between text and data and
  between ARM and THUMB code.
* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
  import and export symbols with <preifx> prepended to them.
2006-08-24 19:53:44 +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
a33c1dbeb5 Use for + install instead of just a single install to work around
argument size limitations. With over 1000 files to install, the default
limit of 65535 byte on DragonFly is clearly not enough for normal path
names.
2005-12-23 17:41:41 +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
fa5eecead3 Revert previous, as cross/* packages don't install with
${PREFIX} == ${LOCALBASE}.
2005-06-20 01:46:01 +00:00
jlam
d0915c61c3 Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead of
${PREFIX}.
2005-06-17 04:49:45 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
7e825d4c92 Add buildlink3 file. 2005-04-05 11:04:20 +00:00
wiz
e0e523058a Sort lines for pkglint. 2005-04-05 11:03:03 +00:00
agc
2ac6df6686 Add RMD160 digests 2005-02-24 10:16:52 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
kristerw
63fbb6a349 Add one more missing file.
Bump PKGREVISION.
2004-08-02 01:59:23 +00:00
kristerw
1a3ce82d7f Add a missing include file.
Bump PKGREVISION.
2004-08-02 00:57:15 +00:00
kristerw
9173fca651 Update to binutils-2.15.
Changes since binutils-2.9 are not easy to summarize, since it
represent more than 6 years of active development...

Solves PR pkg/13442.
2004-07-09 20:43:47 +00:00
wiz
f4648e7d78 Convert to bl3 (tested on 1.6.2, does not build on 2.0). 2004-07-02 13:37:03 +00:00
wiz
e1c0bff613 Unused. 2004-05-11 21:01:05 +00:00
wiz
54155b21eb This package complains it needs GNU m4 -- give it what it wants.
Remove superfluous LTCONFIG_OVERRIDE.
2004-04-24 13:53:37 +00:00
kristerw
fc0bb0e9ff Do not override config.guess and config.sub. The configure
script is called with a hard-coded target that is not in
the pkgsrc/mk/gnu-config/ files.
2004-03-02 19:49:40 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
jlam
efdc57cd98 Add a buildlink2.mk file for other packages to use. 2002-09-30 22:16:48 +00:00
jlam
fe7eafef0f buildlink1 -> buildlink2 2002-09-30 20:35:13 +00:00
jschauma
e10e2a05bb Change MAINTAINER from tv at netbsd dot org to packages at netbsd dot org
after consulting with Todd.  Any volunteers for any of these packages?
2002-08-01 02:37:41 +00:00
abs
47db7fa605 quote $@ 2002-03-13 10:41:57 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
dc6eadbf21 Use ${XARGS} instead of invoking xargs directly. 2001-05-19 03:56:23 +00:00
skrll
e80c28e4bf Move to sha1 digests, and add distfile sizes. 2001-04-21 09:36:23 +00:00
agc
268ad0352c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:33:37 +00:00
wiz
3057d0e514 Standardize patch file names, at least a bit. 2001-04-05 15:27:24 +00:00
wiz
4fbf587cde add some ldscripts, and sort. 2001-03-15 18:28:43 +00:00
agc
f8c0b800dd Previous check (for "." being present in PATH) was incorrect in instances
where "." occurred after the directory containing ld.

Rework the check to see which ld executable is actually found.

Pointed out by Thomas Klausner.
2001-03-13 12:01:43 +00:00
agc
ecc1cfcf5c Add a check for cwd in the $PATH (if "." is present, configuration step
will fail).

Addresses PR 10988
2001-03-13 11:30:28 +00:00
wiz
b9858de684 whitespace fix 2001-02-28 10:47:47 +00:00