diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2010-05-23 13:21:24 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-05-23 13:21:24 +0000 |
commit | ad4ad716edda28026f876dea8b68b2d164740162 (patch) | |
tree | 5d7c65a00a49b32916e1dc1e57bcb4c15d850263 /graphics/aaphoto | |
parent | 9a7291de9b29ebd690641bfc1f019819457e83a5 (diff) | |
download | ports-ad4ad716edda28026f876dea8b68b2d164740162.tar.gz ports-ad4ad716edda28026f876dea8b68b2d164740162.zip |
Notes
Diffstat (limited to 'graphics/aaphoto')
-rw-r--r-- | graphics/aaphoto/Makefile | 4 | ||||
-rw-r--r-- | graphics/aaphoto/files/patch-Makefile.in | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/graphics/aaphoto/Makefile b/graphics/aaphoto/Makefile index 6244e9dc190e..2e4cf6f1cdf9 100644 --- a/graphics/aaphoto/Makefile +++ b/graphics/aaphoto/Makefile @@ -31,8 +31,8 @@ PORTDOCS= AUTHORS ChangeLog COPYING COPYRIGHT INSTALL LICENSE \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 700000 -CFLAGS+= -fno-openmp -Wno-unknown-pragmas -U__OPENMP__ +.if ${OSVERSION} >= 700000 +CFLAGS+= -fopenmp -D__OPENMP__ .endif do-install: diff --git a/graphics/aaphoto/files/patch-Makefile.in b/graphics/aaphoto/files/patch-Makefile.in new file mode 100644 index 000000000000..eefb2448c794 --- /dev/null +++ b/graphics/aaphoto/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2010-05-22 18:13:54.000000000 +0200 ++++ Makefile.in 2010-05-22 18:15:25.000000000 +0200 +@@ -157,7 +157,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CFLAGS = -Wall -O2 -D__OPENMP__ -fopenmp ++AM_CFLAGS = -Wall -O2 -Wno-unknown-pragmas + AM_LDFLAGS = -ljasper -ljpeg -lpng -lm + aaphoto_SOURCES = aaphoto.c + INCLUDES = |