svn commit: r519778 - head/graphics/cimg

Thierry Thomas thierry at FreeBSD.org
Tue Dec 10 20:55:23 UTC 2019


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
 


More information about the svn-ports-head mailing list