git: dad35af59d19 - main - graphics/ilmbase: fix build ahead of CMake 3.20
Adriaan de Groot
adridg at FreeBSD.org
Tue Apr 6 23:02:55 UTC 2021
The branch main has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dad35af59d19ee1dd90251081d63470de7325141
commit dad35af59d19ee1dd90251081d63470de7325141
Author: Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-04-06 21:08:35 +0000
Commit: Adriaan de Groot <adridg at 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 at 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
More information about the dev-commits-ports-all
mailing list