aboutsummaryrefslogtreecommitdiff
path: root/graphics/aaphoto
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-05-23 13:21:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-05-23 13:21:24 +0000
commitad4ad716edda28026f876dea8b68b2d164740162 (patch)
tree5d7c65a00a49b32916e1dc1e57bcb4c15d850263 /graphics/aaphoto
parent9a7291de9b29ebd690641bfc1f019819457e83a5 (diff)
downloadports-ad4ad716edda28026f876dea8b68b2d164740162.tar.gz
ports-ad4ad716edda28026f876dea8b68b2d164740162.zip
Notes
Diffstat (limited to 'graphics/aaphoto')
-rw-r--r--graphics/aaphoto/Makefile4
-rw-r--r--graphics/aaphoto/files/patch-Makefile.in11
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 =