aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-05-23 21:21:24 +0800
committerpav <pav@FreeBSD.org>2010-05-23 21:21:24 +0800
commit7a56ffa7f7c408da0d01e67593cd8bcca558fe36 (patch)
tree97c4f14b739668aeb304d0526aad54294c973cc8 /graphics
parenta4a32ff124e8ac113ba349afbcc948ea69443743 (diff)
downloadfreebsd-ports-gnome-7a56ffa7f7c408da0d01e67593cd8bcca558fe36.tar.gz
freebsd-ports-gnome-7a56ffa7f7c408da0d01e67593cd8bcca558fe36.tar.zst
freebsd-ports-gnome-7a56ffa7f7c408da0d01e67593cd8bcca558fe36.zip
- Really fix on 6.X
PR: ports/146831 Submitted by: Andras Horvath <han@log69.com> (maintainer)
Diffstat (limited to 'graphics')
-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 =