diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2019-12-10 20:55:22 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2019-12-10 20:55:22 +0000 |
commit | e81d090a1f71255bee07aa0bc7504e9ecffd3952 (patch) | |
tree | d3898514076ee11a647d5ee671d732ae48505a7e /graphics/cimg | |
parent | 2b28a577e052b2c75dc7efc29d07b28ff0883c8d (diff) | |
download | ports-e81d090a1f71255bee07aa0bc7504e9ecffd3952.tar.gz ports-e81d090a1f71255bee07aa0bc7504e9ecffd3952.zip |
Do not build anything without DOC/EXAMPLE selected.
PR: 242158
Reported by: sdalu (at) sdalu.com
Notes
Notes:
svn path=/head/; revision=519778
Diffstat (limited to 'graphics/cimg')
-rw-r--r-- | graphics/cimg/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index d589e3ecac3c..c9fdffabfd2e 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -23,16 +23,6 @@ USE_GITHUB= yes GH_ACCOUNT= dtschump GH_PROJECT= CImg -USES= compiler:c11 xorg - -.if !defined(WITHOUT_LAPACK) -. if defined(WITH_ATLAS) -USES+= blaslapack:atlas -. else -USES+= blaslapack -. endif -.endif - BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES @@ -40,10 +30,19 @@ OPTIONS_DEFINE= DOCS EXAMPLES .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} -USES+= gmake pkgconfig:build +USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} + +.if !defined(WITHOUT_LAPACK) +. if defined(WITH_ATLAS) +USES+= blaslapack:atlas +. else +USES+= blaslapack +. endif +.endif + REINPLACE_ARGS= -i "" LIB_DEPENDS+= libboard.so:graphics/libboard |