diff --git a/graphics/perceptualdiff/Makefile b/graphics/perceptualdiff/Makefile index df3bfab968a7..59b2c744af1d 100644 --- a/graphics/perceptualdiff/Makefile +++ b/graphics/perceptualdiff/Makefile @@ -1,22 +1,27 @@ PORTNAME= perceptualdiff PORTVERSION= 2.1 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Program that compares two images WWW= https://github.com/myint/perceptualdiff LICENSE= GPLv2 LIB_DEPENDS= libfreeimage.so:graphics/freeimage PLIST_FILES= bin/perceptualdiff USE_GITHUB= yes GH_ACCOUNT= myint -USES= cmake compiler:c++0x +USES= cmake +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++0x +.endif .include