Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
UPDATE: OpenEXR
To:
ports@openbsd.org
Cc:
ajacoutot@openbsd.org
Date:
Fri, 29 Nov 2024 04:00:24 -0500

Download raw body.

Thread
- Update HOMEPAGE URL with HTTPS
- Fix building with ports-gcc

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/openexr/Makefile,v
retrieving revision 1.72
diff -u -p -u -p -r1.72 Makefile
--- Makefile	12 Nov 2024 07:54:08 -0000	1.72
+++ Makefile	29 Nov 2024 08:11:05 -0000
@@ -6,6 +6,7 @@ V=			3.3.2
 GH_ACCOUNT=		AcademySoftwareFoundation
 GH_PROJECT=		openexr
 GH_TAGNAME=		v${V}
+REVISION=		0
 
 PKGNAME-main=		OpenEXR-${V}
 PKGNAME-tools=		OpenEXR-tools-${V}
@@ -21,7 +22,7 @@ SHARED_LIBS +=  ${solib}-3_3 0.0 # 0.0
 
 CATEGORIES=		graphics
 
-HOMEPAGE=		http://www.openexr.com/
+HOMEPAGE=		https://openexr.com/
 
 # BSD-3-Clause
 PERMIT_PACKAGE=		Yes
@@ -29,13 +30,17 @@ PERMIT_PACKAGE=		Yes
 MULTI_PACKAGES= 	-main -tools -doc
 DEBUG_PACKAGES=		-main -tools
 
-COMPILER=		base-clang ports-gcc base-gcc
+COMPILER=		base-clang ports-gcc
 
 MODULES=		devel/cmake
 
 .if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
 CXXFLAGS +=		-mxgot
 .endif
+
+# need to add this for gcc
+EXTRA_ports-gcc=        -lstdc++fs
+CXXFLAGS+=              ${EXTRA_${CHOSEN_COMPILER}}
 
 WANTLIB-main += ${COMPILER_LIBCXX} Imath-3_1 deflate m