1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Really fix on 6.X

PR:		ports/146831
Submitted by:	Andras Horvath <han@log69.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2010-05-23 13:21:24 +00:00
parent 9a7291de9b
commit ad4ad716ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254886
2 changed files with 13 additions and 2 deletions

View File

@ -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:

View File

@ -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 =