Bug 143093 - print/pdftk installs gcc42, even if gcc44 exists
Summary: print/pdftk installs gcc42, even if gcc44 exists
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: Greg Larkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-23 00:10 UTC by TsurutaniNaoki
Modified: 2010-02-23 22:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (651 bytes, patch)
2010-01-23 00:10 UTC, TsurutaniNaoki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2010-01-23 00:10:00 UTC
	print/pdftk requires gcj to build.
	hence, print/pdftk use "USE_GCC=4.2+", but it always require gcc42
	even if higher versions of gcc are installed; "+" makes no sense.

Fix: FreeBSD 7.x, 8.x, current installs gcc42 without gcj, hence "USE_GCC=4.2+"
	always detect gcc in base system.
	Therefore, gcc version to use is always 4.2, and gcj42 does not exists
	unless lang/gcc42 is installed, then gcc42 is installed even if gcc43
	or gcc44 etc is installed.
	here is a patch to Makefile:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-23 00:10:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glarkin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Greg Larkin freebsd_committer freebsd_triage 2010-02-23 21:53:14 UTC
State Changed
From-To: open->closed

I'm not sure what the patch does exactly, but I committed a change 
to make USE_GCC only accept version 4.2, instead of 4.2+.  You are 
correct about that - it doesn't make sense to build a higher 
version of gcc, if gcc 4.2 is the only one that currently supports 
gcj. 

I am working on enabling gcj in gcc 4.5, and that will eventually 
become the standard version used to build pdftk. 

Thank you for the bug report!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-02-23 21:53:14 UTC
glarkin     2010-02-23 21:53:05 UTC

  FreeBSD ports repository

  Modified files:
    print/pdftk          Makefile 
  Log:
  - Restrict the gcc version to 4.2, not 4.2+, since 4.2 is the only
    version that includes gcj42 at the moment.
  
  PR:             ports/143093
  Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.29      +3 -3      ports/print/pdftk/Makefile
_______________________________________________
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"