defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
38 lines
754 B
Makefile
38 lines
754 B
Makefile
# Created by: Andras Horvath <han@log69.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aaphoto
|
|
PORTVERSION= 0.43.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 9
|
|
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= compiler:openmp jpeg
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/aaphoto
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if (${ARCH} == amd64 || ${ARCH} == i386) && ${CHOSEN_COMPILER_TYPE} == gcc
|
|
CFLAGS+= -fopenmp -D__OPENMP__
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|