1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/graphics/aaphoto/Makefile
Fernando Apesteguía 07fb2d5e9d */*: Remove compiler:openmp from Mk/Uses/compiler.mk
The option implied a dependency on gcc but clang got openmp support long ago.

Remove compiler:openmp from Mk/Uses/compiler.mk

For ports using USE=compiler:openmp, just remove it and make them build with
clang.
Fix conditionals when necessary
Bump PORTREVISION where appropriate

If problem arises, they can be addressed by using USE_GCC=yes

An update to the Porter's Handbook will follow.

Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D31971
2021-10-03 19:47:27 +02:00

38 lines
693 B
Makefile

# Created by: Andras Horvath <han@log69.com>
PORTNAME= aaphoto
PORTVERSION= 0.43.1
DISTVERSIONPREFIX= v
PORTREVISION= 12
CATEGORIES= graphics
MAINTAINER= mail@log69.com
COMMENT= Auto Adjust Photo, automatic color correction of photos
LICENSE= GPLv3
LIB_DEPENDS= libjasper.so:graphics/jasper \
libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= log69
GNU_CONFIGURE= yes
USES= jpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/aaphoto
.include <bsd.port.pre.mk>
.if (${ARCH} == amd64 || ${ARCH} == i386)
CFLAGS+= -fopenmp -D__OPENMP__
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>