Commit graph

67 commits

Author SHA1 Message Date
tez
dbd7c366f2 Add patch to embedded libltdl for CVE-2009-3736 from:
http://lists.gnu.org/archive/html/libtool/2009-11/msg00065.html
2010-05-04 20:46:31 +00:00
asau
00708ce7e3 Recursive revision bump for GMP update. 2010-03-24 19:43:21 +00:00
joerg
59d47660a0 Fix a number of GENERATE_PLIST entries to always have a terminating ; 2009-06-16 15:25:31 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
hasso
955bff512e Hack it to work on DragonFly. 2009-04-22 18:59:54 +00:00
markd
00e0151458 Fix build on NetBSD 5.x using same patch Joerg applied to gcc3. 2009-03-30 10:57:02 +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
obache
9669e20043 Fixes pkgname of BUILDLINK_DEPMETHOD, it caused unwanted full dependency,
pointed out in PR 39234.
2008-07-28 09:48:48 +00:00
jlam
b5e6ca3a7e Move code that generates a dynamic PLIST from the {pre,do,post}-install
targets and into a GENERATE_PLIST variable definition.  Remove some
unnecessary empty PLISTs as a result of properly setting GENERATE_PLIST.
2007-10-25 21:04:21 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
dmcmahill
6a3b553a4b _ULIMIT_CMD already includes a trailing ";" so don't follow that with
"&&" as some shells do not like this.
2007-04-07 22:23:01 +00:00
tron
090c296644 Apply resource limits for ADA build, too. 2007-02-05 06:46:10 +00:00
tron
aa2c5e38dc Unlimit datasize to fix build under (at least) NetBSD-i386 3.3.1 using
NetBSD's GCC 3.3.3.
2007-02-04 22:54:13 +00:00
rillig
5acfb0b6ca Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?
2007-01-17 03:11:18 +00:00
rillig
cd7e9298b9 Fixed the AWK interpreter. Bumped PKGREVISION. 2006-10-04 22:40:40 +00:00
abs
7a1971ede9 Set MAKE_ENV+=SHELL=${CONFIG_SHELL} for all gcc packages. Fixes SHELL set
to non sh compatible shell in environment. Thanks to Georg Schwarz.
2006-09-27 15:46:11 +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
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +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
shannonjr
1d6e21738d Update to 3.4.6. This is a bugfix release. 2006-04-05 11:03:59 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
shannonjr
796d40a3fb Update to 3.4.5. This is a bug fix release. 2006-01-04 18:06:17 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
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
rillig
e1fc743e11 The Solaris /bin/sh doesn't like two adjacent open parentheses. Removed
them completely, as they had been unnecessary. As ${MKDIR} already
includes the -p option, the ${TEST} is not necessary and has been
dropped, too. Fixes PR 32002.
2005-11-05 08:43:44 +00:00
rillig
9984e0604a Removed trailing white-space. 2005-09-28 14:15:48 +00:00
kristerw
740b939f18 Prevent paths to the build directories from being included in the
package for BUILD_F77.  Solves PR pkg/30628.

Bump PKGREVISION.
2005-07-09 00:16:53 +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
shannonjr
63e6bb6772 Update from 3.3.3 to 3.3.4. This is a bugfix release. There is a very
significant reduction in the number of regressions, particularily with
libstdc++.
2005-05-20 19:25:21 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
tv
5e36931b25 Temporarily mark as not for Interix, until platform config and libtool fixed. 2005-01-21 20:52:24 +00:00
wiz
43de7f8bc0 Now that no package uses USE_GCC_SHLIB any longer, remove support
for it from compiler.mk.

Move the variable of the same name used by compiler/gcc.mk and
the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-22 22:24:46 +00:00
shannonjr
0cbac7c9e1 Add missing '-print' to FIND 2004-11-15 11:38:42 +00:00
shannonjr
67974c9371 If Fortran frontend is being built, dependency on gmp is added. This
follows the stated prerequisites in the gcc installation documentation.
2004-11-12 12:31:28 +00:00
shannonjr
a82e023ca3 Update to 3.4.3. This release is a bug-fix release, containing fixes for
regressions in GCC relative to previous releases of GCC.
2004-11-08 16:44:34 +00:00
shannonjr
ba3865dc7a Re: pkg/27775 programs compiled with gcc34 don't find gcc34's libraries
Added patch patterned after the one in lang/gcc3 to set rpath for libgcc
2004-11-05 12:40:23 +00:00
shannonjr
bedf3290f5 Revised to build dynamic (in addition to static) libgnat if Ada language
frontend is built.
2004-10-30 12:06:59 +00:00
shannonjr
8df02c4162 Revised to only define a full BUILDLINK_DEPMETHOD if USE_GCC_SHLIB is defined. 2004-10-30 10:35:34 +00:00
minskim
4dc3adf42b Not every implementation of find(1) accepts "file" and "link" as
arguments to "-type"; use "f" and "l" instead.
2004-10-29 14:57:03 +00:00
shannonjr
5fc3ae83af Upgrade from 3.4.1 to 3.4.2. gcc 3.4.2 is a bug fix release containing fixes
for regressions in GCC 3.4.1 relative to previous releases of GCC.
2004-09-21 13:32:40 +00:00
shannonjr
584b3677af 1) Locate adalib for bootstrap compiler with ${ALT_GCC} --print-file-name=adalib
rather than find. This behaves better if ${ALT_GCC} does not specify
   a gcc executable.
2) Change to uniform handling of ABI baseline-pairs for NetBSD. There
   must be agreement between the Makefile and libstdc++-v3/configure.host;
   this change ensures consistency by introducing ABI_BASELINE_PAIR
   variable used in both.
3) Bump revision number.
2004-08-11 19:08:15 +00:00
shannonjr
27e69cf5c4 Add ABI description file for sparc64--netbsd2.x 2004-08-11 09:49:42 +00:00
shannonjr
b05a15ec40 Add ABI description file for i386-netbsd1.x 2004-08-10 16:20:08 +00:00
shannonjr
6bf47762a8 Introduce several changes so that package builds successfully on
alpha--netbsd1.6.2:
1) Rename the baseline_symbols.txt files that define abi and implement
   logic in Makefile that uses these according to architecture and
   NetBSD version (1.x versus 2.x)
2) Add several patches that allow code to compile on alpha--netbsd1.6.2
3) Revise Makefile so that libiconv is found under NetBSD 1.6.2
2004-08-10 15:11:14 +00:00