pkgsrc-WIP-changes archive

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

soqt: Actually remove buildlink3 paths from installed cmake modules



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sun Apr 6 15:26:25 2025 +1000
Changeset:	6fddc87f3b5634f8ead5d5c45ddeca4861b340e1

Modified Files:
	soqt/Makefile

Log Message:
soqt: Actually remove buildlink3 paths from installed cmake modules

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

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

diffstat:
 soqt/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/soqt/Makefile b/soqt/Makefile
index 98e7dbe0bc..10e53591cc 100644
--- a/soqt/Makefile
+++ b/soqt/Makefile
@@ -19,12 +19,16 @@ GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
 USE_LANGUAGES=	c c++
 
+CMAKE_CONFIGURE_ARGS+=	-DSOQT_USE_QT5=OFF -DSOQT_USE_QT6=ON -DSOQT_VERBOSE=ON
+
 REPLACE_PERL+=	cfg/gendsp.pl.in cfg/doxy4win.pl
 
-SUBST_CLASSES=		cmake
-SUBST_STAGE.cmake=	post-install
-SUBST_FILES.cmake+=	cmake-pkgsrc-build/src/soqt-export.cmake
-SUBST_SED.cmake+=	-e 's|${WRKDIR}/.buildlink|${PREFIX}|g'
+SUBST_CLASSES=		unbl3
+SUBST_MESSAGE.unbl3=	Undoing buildlink3 paths in cmake exports.
+SUBST_STAGE.unbl3=	post-install
+SUBST_FILES.unbl3+=	${DESTDIR}${PREFIX}/lib/cmake/${DISTNAME}/soqt-export.cmake
+SUBST_SED.unbl3+=	-e "s|${BUILDLINK_DIR}/lib/||g"
+SUBST_SED.unbl3+=	-e "s|${BUILDLINK_DIR}/include|${PREFIX}/include|g"
 
 .include "../../mk/bsd.prefs.mk"
 


Home | Main Index | Thread Index | Old Index