Bug 156541 - [MAINTAINER] Upgrade lang/gnat-aux to release version and add C++
Summary: [MAINTAINER] Upgrade lang/gnat-aux to release version and add C++
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Frederic Culot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 07:00 UTC by John Marino
Modified: 2011-04-27 12:20 UTC (History)
0 users

See Also:


Attachments
file.diff (6.62 KB, patch)
2011-04-21 07:00 UTC, John Marino
no flags Details | Diff
gnat-aux.diff (6.62 KB, patch)
2011-04-21 07:12 UTC, john
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2011-04-21 07:00:20 UTC
This patch provides the following:

1. Upgrades gnat-aux to mirror gcc 4.6.0 release (The current version is equivalent to pre-release candidate)

2. Adds an option to build C++, which is "on" by default.  A number of programs require both C and Ada and it's convenient to have the same compiler collection build those parts.

3. Additional testsuites were added (C and C++)

4. Dejagnu was demoted to an optional dependency.  If not testsuites are selected, which is the new default, then dejagnu is not considered a dependency.

5. gnat-aux no longer builds MAKEINFO which conflicts with other gcc ports.

6. The unnecessary libquadmath is no longer built.

7. The makefile now uses gcc's install-strip function instead of manually stripping the symbols after installation.


It seems that if gnat-aux already exists on the system and is being upgraded in place, an error regarding the gnat documentation will occur during the deinstallation phase.  It is caused by the prior version having enabled MAKEINFO which is now disabled.  To help users avoid this error, the following update to /usr/ports/UPDATING is recommended:

20110421:
  AFFECTS: users of lang/gnat-aux
  AUTHOR: John Marino <draco@marino.st>

  To avoid an error about GNAT documentation during the reinstallation phase
  it is suggested that gnat-aux be completely deinstalled and rebuilt.  For
  example, use:

    # cd /usr/ports/lang/gnat-aux
    # make deinstall clean
    # make install clean
Comment 1 john 2011-04-21 07:12:09 UTC
The provided patch wasn't recognized as a file during the original PR 
submission.  I'm providing the same exact patch via email attachment 
just to ensure there are no problems with incorporating it.

Regards,
John
Comment 2 Frederic Culot freebsd_committer freebsd_triage 2011-04-27 09:39:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->culot

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-04-27 12:15:53 UTC
culot       2011-04-27 11:15:39 UTC

  FreeBSD ports repository

  Modified files:
    lang/gnat-aux        Makefile distinfo pkg-plist 
  Log:
  - Update to 20110325 [1]
  - Pet portlint(1) by removing trailing spaces
  
  PR:             ports/156541 [1]
  Submitted by:   John Marino <freebsdml@marino.st> (maintainer)
  
  Revision  Changes    Path
  1.2       +62 -16    ports/lang/gnat-aux/Makefile
  1.3       +2 -2      ports/lang/gnat-aux/distinfo
  1.2       +11 -15    ports/lang/gnat-aux/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Frederic Culot freebsd_committer freebsd_triage 2011-04-27 12:15:59 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!