Commit graph

64 commits

Author SHA1 Message Date
joerg
76e564a8a9 Make sure that meta packages set META_PACKAGE before including
bsd.prefs.mk. Reported by Steven M. Bellovin for xorg packages.
2008-06-15 09:51:58 +00:00
rillig
52ec81ff15 Shortened the definition of a meta-package. 2008-01-13 23:07:14 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
markd
324e66cd29 Update gcc3-* to 3.3.6. Fix build of gcc3-f77 and gcc3-java on
NetBSD-current.
2006-12-07 11:24:27 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
drochner
f91b583570 update to 3.3.5
There was just a build system fix which we weren't affected by afaict.
2005-01-21 15:08:14 +00:00
grant
0eafc481a6 gcc3 is at 3.3.4 now. 2004-07-03 06:50:55 +00:00
abs
066ddabcbf Update gcc3-ada to 3.3.3nb1
Update gcc3-c++ to 3.3.3nb1
Update gcc3-c	to 3.3.3nb2
Update gcc3-f77 to 3.3.3nb1
Update gcc3-java to 3.3.3nb1
Update gcc3-objc to 3.3.3nb1
Update gcc3 to 3.3.3nb1

gcc arm: fix GCC _P_R_ target/14302

        Apply gcc fix for gcc PR target/14302 to fix ARM compiler
        issues triggered by at least glib, glib2, and pkgconfig.

             2004-02-26  Richard Earnshaw  <rearnsha@arm.com>
                   Daniel Jacobowitz  <drow@mvista.com>

                   PR target/14302
                   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
                   size for minipool references.
2004-05-22 17:48:21 +00:00
seb
1cd5dcea8a Make all gcc3-* packages use a single distinfo file from gcc3/distinfo and
a single patch directory from gcc3/patches/.
Also Move gcc3-c/{Makefile.common,language.mk} into gcc3/.
2004-04-10 15:47:08 +00:00
drochner
bf761bc865 update to gcc-3.3.3 2004-03-02 14:46:33 +00:00
tron
d371bfefaa Fix dependence problem for other packages, too. 2004-02-14 13:49:25 +00:00
tron
08d2c8fd67 Update dependence on "gcc3-c++" package and bump package revision. 2004-02-14 13:47:00 +00:00
jlam
50e07b6657 Bump the PKGREVISION after fixing up the installed *.la files to remove
references to the buildlink work directories.
2004-02-13 15:13:00 +00:00
jlam
65bdf7098a "Update" lang/gcc3 to 3.3.2. This package is now a meta-package for
lang/gcc3-*.
2004-02-01 14:12:22 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
abs
0e4e4da57e Add USE_GCC3 to files/gcc3.mk to work better when included in mk.conf 2004-01-21 10:17:56 +00:00
grant
49262175f6 add a workaround for Solaris finding libintl.h in ${LOCALBASE}/include.
if configure finds this file, it expects to be able to use it, and
linking fails because /usr/lib/libintl.so isn't GNU libintl.

allows this to be built on Solaris while gettext-lib is installed.
2004-01-13 09:53:35 +00:00
wiz
2a367b58d9 Use S modifier instead of C; should fix first part of PR 23126. 2003-10-11 06:24:52 +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
jmmv
f24ae18ebe Add PKG_GCC3_JAVA to BUILD_DEFS. 2003-07-28 21:49:15 +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
abs
5e4225a2a7 Update:
gcc3 to 3.3nb5
        gcc3-c to 3.3nb1
        gcc3-c++ to 3.3nb1
In gcc3.mk set CPP to '.../cpp -gcc' rather than '.../cpp'
Ensure __GNUC__ and similar are defined.
2003-07-17 09:07:54 +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
abs
778857b37b Update gcc3 to gcc3-3.3nb4:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
2003-07-08 16:30:44 +00:00
seb
4e9c7c32d1 Specifying --infodir=... to configure is not needed anymore. 2003-07-06 15:33:36 +00:00
grant
886b31b982 set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous comment
about GCC_PREFIX.

XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
2003-07-06 12:31:57 +00:00
grant
4c586379b2 s/${PKGVERSION}/3.3/ - we don't have a variable for PKGVERSION
without PKGREVISION.
2003-07-06 12:06:32 +00:00
seb
7948cb7b2e Convert to USE_NEW_TEXINFO.
Remove or trim "info related" patch files.
Install info files in package specific directory.
Hence the PLIST files are now nearly empty...

This should finish making these two packages really non-conflicting.

Bump PKGREVISION.
2003-07-04 16:27:24 +00:00
seb
b132988247 Install example mk.conf in package specific directory.
Adjust and make uniform various substitution variables and MESSAGE files.

No PKGREVISION bump right now.
2003-07-04 16:11:55 +00:00
drochner
88ed99860e oops, missed the .info files 2003-07-03 18:19:18 +00:00
drochner
69d6a594ed sort stuff so that bsd.prefs.mk is pulled in before any decisions are
drawn from user variables
comma-separate the list of supported languages; while spaces work,
the libstdc++ configure script misbehaves if c++ is not the last one...
2003-07-03 18:04:23 +00:00
drochner
9596b6ffa6 provide a knob to turn on java support 2003-07-03 16:16:30 +00:00
drochner
f92baced29 It seems that splitting gcc3 is more work than I expected.
Until this is done, put everything back but java.
2003-07-03 15:56:37 +00:00
drochner
97d73edc6e Building Java support takes too long.
Cripple the pkg to support c/c++ only.
If needed, f/java could be put into addon pkgs.
2003-07-03 11:58:05 +00:00
rafal
4e7f0e5e9a Don't stomp prefix settings by overwriting CONFIGURE_ARGS (+= instead of =). 2003-07-03 04:25:27 +00:00
drochner
b8458ba8d0 The "libgcc_eh not found" was just buildlink lossage, not
gcc3's fault. Worse, programs got built against the wrong
(main tree) libgcc.
Now that this is fixed, set a netbsdelf2.0 target on -current,
to get both thread support and crt*.o files.
Also, use the usual buildlink magic to avoid picking up
a GNU pth from /usr/pkg.
pkgsrc/mail/imap-uw builds with a gcc3 set up this way.
2003-07-02 19:34:22 +00:00
abs
d53f7c9561 Update gcc3 to gcc3-3.3nb2
If NetBSD and /usr/include/pthread.h is present, add --enable-threads to
configure arguments. Could set --host=i386--netbsdelf2.0 instead, but that
causes many other packages (eg: mail/imap-uw) to fail to link with
    '/usr/bin/ld: cannot find -lgcc_eh'
even when they
    .if defined(USE_GCC3)
    .  include "../../lang/gcc3/buildlink2.mk"
    .endif
With this change a 1.6U/i386 machine can build mozilla with gcc3.
2003-06-30 22:40:07 +00:00
grant
b015e18fd1 only do the USE_BINUTILS tests if we're on NetBSD.
unbreaks this on Solaris and other non-GNU binutils platforms.
2003-06-17 06:18:28 +00:00
fredb
419202b8d9 Don't gratuitiusly force use of binutil's "ld", as this one evidently
has "${PREFIX}/lib" in it's search path, causing configure to to pick
up libraries it shouldn't (such as "libiconv" -- PR pkg/21848).
2003-06-11 18:20:23 +00:00
fredb
4b3c069ea7 Pull in devel/binutils if '${AS} --version' reports to be less than 2.13.2.1,
and ensure that the built compiler uses it. This fixes a problem reported by
abs compiling perl, among other things. Apparently, gcc-3.3 triggers a bug in
gas:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10877

Bump ${PKGREVISION}.
2003-06-10 23:46:39 +00:00
grant
cc93c4acd8 remove some empty directories in post-install, so we do not create a
broken binary pkg.
2003-06-05 16:01:41 +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
jschauma
c3828425aa Apply patch provided by Todd Vierling in PR pkg/21227 to remove build-dependency
on bison, which is not necessary.
2003-05-26 20:39:10 +00:00
jdolecek
92b48d8592 use the tar.bz2 archive, it's 8MB smaller than .tar.gz
add UNLIMIT_RESOURCES=datasize, which appears to be necessary to compile
the package
2003-05-25 20:44:26 +00:00
grant
368e613496 Updated gcc3 to 3.3.
Tested on NetBSD-current and Solaris 9.

Caveats

    * The preprocessor no longer accepts multi-line string literals.
      They were deprecated in 3.0, 3.1, and 3.2.
    * The preprocessor no longer supports the -A- switch when appearing
      alone. -A- followed by an assertion is still supported.
    * Support for all the systems obsoleted in GCC 3.1 has been removed
      from GCC 3.3.
    * Checking for null format arguments has been decoupled from the rest
      of the format checking mechanism. Programs which use the format
      attribute may regain this functionality by using the new nonnull
      function attribute. Note that all functions for which GCC has a
      built-in format attribute, an appropriate built-in nonnull attribute
      is also applied.
    * The DWARF (version 1) debugging format has been deprecated and will
      be removed in a future version of GCC. Version 2 of the DWARF
      debugging format will continue to be supported for the foreseeable
      future.
    * The C and Objective-C compilers no longer accept the "Naming Types"
      extension (typedef foo = bar); it was already unavailable in C++.
      Code which uses it will need to be changed to use the "typeof"
      extension instead: typedef typeof(bar) foo. (We have removed this
      extension without a period of deprecation because it has caused
      the compiler to crash since version 3.0 and no one noticed until
      very recently. Thus we conclude it is not in widespread use.)
    * The -traditional C compiler option has been removed. It was
      deprecated in 3.1 and 3.2. (Traditional preprocessing remains
      available.) The <varargs.h> header, used for writing variadic
      functions in traditional C, still exists but will produce an error
      message if used.

New Targets and Target Specific Improvements [trimmed for length and
relevance to NetBSD]

    * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted
      to use the DFA processor pipeline description.
    * The following NetBSD configurations for the SuperH processor family
      have been added:
          o SH3, big-endian, sh-*-netbsdelf*
          o SH3, little-endian, shle-*-netbsdelf*
          o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
          o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
          o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
          o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
    * The following changes have been made to the IA-32/x86-64 port:
          o SSE2 and 3dNOW! intrinsics are now supported.
          o Support for thread local storage has been added to the IA-32
            and x86-64 ports.
          o The x86-64 port has been significantly improved.

The full list of changes can be found at:

	http://gcc.gnu.org/gcc-3.3/changes.html
2003-05-25 16:29:20 +00:00