Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2019 20:55:23 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519778 - head/graphics/cimg
Message-ID:  <201912102055.xBAKtNAa039921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Tue Dec 10 20:55:22 2019
New Revision: 519778
URL: https://svnweb.freebsd.org/changeset/ports/519778

Log:
  Do not build anything without DOC/EXAMPLE selected.
  
  PR:		242158
  Reported by:	sdalu (at) sdalu.com

Modified:
  head/graphics/cimg/Makefile

Modified: head/graphics/cimg/Makefile
==============================================================================
--- head/graphics/cimg/Makefile	Tue Dec 10 20:50:33 2019	(r519777)
+++ head/graphics/cimg/Makefile	Tue Dec 10 20:55:22 2019	(r519778)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912102055.xBAKtNAa039921>