Bug 146831 - graphics/aaphoto fix build on FreeBSD 6.x and earlier
Summary: graphics/aaphoto fix build on FreeBSD 6.x and earlier
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: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2010-05-22 16:00 UTC by Andras Horvath
Modified: 2010-05-23 23:06 UTC (History)
0 users

See Also:

file.diff (1.85 KB, patch)
2010-05-22 16:00 UTC, Andras Horvath
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 2010-05-23 14:17:27 UTC
State Changed
From-To: open->closed

Committted, thanks!
Comment 2 dfilter service freebsd_committer 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 
  - 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
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"