pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freecad: Update TODO with needed pkgsrc patches



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Thu Jul 10 23:23:14 2025 +1000
Changeset:	a85bfae505e757bc10b2b4b9389f6093ce98cb74

Modified Files:
	freecad/TODO

Log Message:
freecad: Update TODO with needed pkgsrc patches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a85bfae505e757bc10b2b4b9389f6093ce98cb74

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freecad/TODO | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diffs:
diff --git a/freecad/TODO b/freecad/TODO
index 4971e8d372..5cbeda9261 100644
--- a/freecad/TODO
+++ b/freecad/TODO
@@ -22,3 +22,23 @@ index 30b7a1562e52..64414308d6ee 100644
  # \todo Fix duplication with prefix coded in Makefile.common
  QTDIR=		${BUILDLINK_PREFIX.qt6-qtbase}/qt6
  CMAKE_PREFIX_PATH+=	${QTDIR}
+
+And the following pkgsrc Makefile fix:
+
+diff --git a/cad/occt/Makefile b/cad/occt/Makefile
+index a3e79082e05a..edab957b96ec 100644
+--- a/cad/occt/Makefile
++++ b/cad/occt/Makefile
+@@ -30,6 +30,12 @@ CXXFLAGS.SunOS+=		-DSOLARIS=1
+ LDFLAGS.SunOS+=			-lnsl
+ BUILDLINK_TRANSFORM.NetBSD+=	rm:-ldl
+ 
++SUBST_CLASSES+=		unbl3
++SUBST_MESSAGE.unbl3=	Undoing buildlink3 paths in cmake exports.
++SUBST_STAGE.unbl3=	post-build
++SUBST_FILES.unbl3+=	${CMAKE_BUILD_DIR}/CMakeFiles/Export/*/OpenCASCADE*Targets.cmake
++SUBST_SED.unbl3+=	-e 's,${BUILDLINK_DIR}/lib,${PREFIX}/lib,g'
++
+ .include "../../mk/compiler.mk"
+ 
+ .if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \


Home | Main Index | Thread Index | Old Index