Bug 146831

Summary: graphics/aaphoto fix build on FreeBSD 6.x and earlier
Product: Ports & Packages Reporter: Andras Horvath <han>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andras Horvath 2010-05-22 16:00:09 UTC
The port needs OpenMP multi processing feature since version 0.37 by default. GCC supports this since version 4.2, which is since FBSD 7.x.

On FBSD 6.x and earlier, CFLAGS should not have -fopenmp and -D__OPENMP__ flags. I solved the problem by adding patches to the original source's Makefiles that remove these flags by default, and rather apply it on platform 7.x and above.

I tested it on 6.4 and 8.0 platforms.

Fix: Patch attached with submission follows:
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2010-05-23 14:17:27 UTC
State Changed
From-To: open->closed

Committted, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-23 14:21:32 UTC
pav         2010-05-23 13:21:24 UTC

  FreeBSD ports repository

  Modified files:
    graphics/aaphoto     Makefile 
  Added files:
    graphics/aaphoto/files patch-Makefile.in 
  Log:
  - Really fix on 6.X
  
  PR:             ports/146831
  Submitted by:   Andras Horvath <han@log69.com> (maintainer)
  
  Revision  Changes    Path
  1.10      +2 -2      ports/graphics/aaphoto/Makefile
  1.1       +11 -0     ports/graphics/aaphoto/files/patch-Makefile.in (new)
_______________________________________________
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"