On Fri, Nov 29, 2024 at 04:00:25AM -0500, Brad Smith wrote: > - Update HOMEPAGE URL with HTTPS > - Fix building with ports-gcc
An updated diff. Just using the library when linking is enough. 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 8 Dec 2024 11:29:12 -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,7 +30,7 @@ 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 @@ -53,6 +54,10 @@ RUN_DEPENDS-doc= # empty WANTLIB-doc= # empty MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib + +# need to add this for gcc +EXTRA_ports-gcc= -lstdc++fs +MODCMAKE_LDFLAGS+= ${EXTRA_${CHOSEN_COMPILER}} # needs python and openexr-images CONFIGURE_ARGS= -DBUILD_TESTING=OFF