Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 23:02:55 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dad35af59d19 - main - graphics/ilmbase: fix build ahead of CMake 3.20
Message-ID:  <202104062302.136N2tG2004608@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dad35af59d19ee1dd90251081d63470de7325141

commit dad35af59d19ee1dd90251081d63470de7325141
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-04-06 21:08:35 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-04-06 23:02:51 +0000

    graphics/ilmbase: fix build ahead of CMake 3.20
    
    The --target command-line argument is ignored when not applicable
    in versions of CMake up to 3.20. In this port it has even gotten
    separated from the target it is supposed to name -- and it
    should never be necessary in FreeBSD ports **anyway** since
    we generate a build system (ninja or make) and use that, rather
    than building directly out of CMake.
    
    Bumping PORTREVISION even though there shouldn't be a difference.
---
 graphics/ilmbase/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
index fa797e855f45..928b9683abb2 100644
--- a/graphics/ilmbase/Makefile
+++ b/graphics/ilmbase/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	ilmbase
 PORTVERSION=	2.5.5
+PORTREVISION=	1
 CATEGORIES=	graphics devel
 
 MAINTAINER=	mandree@FreeBSD.org
@@ -15,9 +16,7 @@ USE_GITHUB=	yes
 GH_TUPLE=	AcademySoftwareFoundation:openexr:v${PORTVERSION}
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS+=	--target \
-		-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-		install
+CMAKE_ARGS+=	-DCMAKE_INSTALL_PREFIX=${PREFIX}
 
 WRKSRC_SUBDIR=	IlmBase
 



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