Commit graph

157 commits

Author SHA1 Message Date
tnn
72d4d1ec17 gcc-2 needs to be built with gcc3 on netbsd-4. From Aleksej Saushev. 2008-02-01 07:50:01 +00:00
joerg
c365788409 Can't work on DragonFly due to missing TLS support. 2007-06-12 20:10:17 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +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
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
741aecb607 * Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead.

* Properly account for split info files during installation.

* Move info file listings directly into the package PLISTs.

This fixes info-file-related PLIST problems.
2006-03-20 18:15:37 +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
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
tv
8e6432d63a NOT_FOR_PLATFORM Interix. 2005-11-09 21:25:39 +00:00
kristerw
2e1e0a6dae Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-24 17:04:00 +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
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +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
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
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
gavan
ffa600bf7e I can't count. 2004-06-29 13:24:31 +00:00
gavan
42140f0b66 gcc installs in a subdirectory of ${BUILDLINK_PREFIX.gcc}, so make
sure that appropriate subdirectory is passed in BUILDLINK_LIBDIRS.gcc.

Fixes PR 26109. OK'd by grant.
2004-06-29 13:17:42 +00:00
snj
cc3900796e Convert to buildlink3. 2004-05-02 04:59:23 +00:00
jlam
e979cbd817 When building devel/gmake as a build dependency, build it without locale
support.  This makes it easier to "bootstrap" the installation of a
pkgsrc compiler without a lot of additional indirect build dependencies on
gettext, libiconv, libtool, etc.
2004-03-25 23:34:01 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
2b4202c8b4 Buildlink the gcc libraries and headers early so that fake-la can find
them.
2004-02-24 10:02:23 +00:00
kristerw
da0229e8a4 gcc 2.95 does not support the x86_64 architecture. 2004-02-19 17:51:17 +00:00
jlam
6472620f7b bsd.compiler.mk no longer adds dependencies or includes buildlink*.mk files
if it's being included by bsd.prefs.mk, so we can safely move the
BUILDLINK_DEPENDS line to its usual location.
2004-02-05 03:45:13 +00:00
jlam
b5863b4805 List the correct directories for finding GCC libraries so that they will
be added automatically to library and run-time library search paths.
2004-02-05 00:28:35 +00:00
jlam
b3ef0bf8cb Don't rely on _GCCARCHSUBDIR. 2004-02-02 12:19:10 +00:00
jlam
3fa5e2549e Add a buildlink3.mk file for use by bsd.compiler.mk. Note that we always
add the dependency regardless of the depth.
2004-02-01 14:09:45 +00:00
jlam
4356469d7f Use _GCC_REQD instead of GCC_REQD since we just want a single value. 2004-02-01 14:09:04 +00:00
jlam
66c8a08bc8 Changes to support new compiler selection framework. 2004-02-01 02:11:06 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
ben
4f12f860b5 Apply patch from Harry Waddell in PR 23289 to chill in gcc 2.95.3, to
fix a build error when using gcc 3.  Also bumps PKGREVISION.
2003-12-18 15:44:24 +00:00
dmcmahill
56b89512f4 Make this patch be more selective so that this package will work
on NetBSD/alpha versions 1.6 and newer.  Previously, this package only
worked on pre-1.6.  Fixes problems noted in recent bulk builds.
2003-11-25 22:35:14 +00:00
grant
ada56b5a0b tidy up handling of LDFLAGS wrt USE_GCC_SHLIB a little. 2003-09-12 15:54:40 +00:00
grant
c934b0c4e0 start of improved compiler handling, mostly derived from the existing
gcc buildlink2.mk files and splitting the non-buildlink2.mk bits out
into compiler.mk.

this allows USE_GCC2 and USE_GCC3 to work with non-buildlink2 packages
again.
2003-09-12 13:03:38 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
grant
e7e868feaa include major version number in COMMENT for distinction, some minor
COMMENT tweaks.
2003-08-08 09:31:00 +00:00
grant
3b9a5f5e2a fix GCC_VERSION so GCC_ARCHDIR is correctly set.
re-arrange gcc/Makefile a bit to more closely resemble gcc3/Makefile.
2003-07-23 22:30:12 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
grant
0c414e029b oops, we still want the mk files for non-pkgsrc purposes. unbump
PKGREVISIONs.
2003-07-13 13:16:03 +00:00
grant
7528b4d437 greatly simplify the handling of pkgsrc gcc, and eliminate a bug which
has allowed these packages to work :)

set CC, CXX, CPP and F77 in gcc{,3}/buildlink2.mk.

you now only need to define USE_GCC2 or USE_GCC3 to use the pkgsrc
gcc of your choice.

the share/examples/gcc/mk.conf and gcc3/mk.conf files are no longer
installed.

bump PKGREVISIONs.
2003-07-13 13:04:09 +00:00
jtb
3f9c40bb8e Add some patches against basesrc gcc implementing the "if-exists"
function in the specs file.  Enables the linker to pick
up crti.o and crtn.o if they exist.
2003-07-12 08:53:40 +00:00
seb
aaa7115491 Ooops I missed this INSTALL script while doing the conversion
to USE_NEW_TEXINFO (I should have added it to INSTALL_TEMPLATES).

Anyway as info files are now registered in a package specific info
directory file I guess it can be removed.
2003-07-06 14:28:35 +00:00
seb
03fb7511aa Reorder a bit so pkglint is happier. 2003-07-06 14:28:08 +00:00
seb
f49d84b8ff No need anymore to specify --infodir=... to configure.
Factorize some install commands.
2003-07-06 14:23:31 +00:00