pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt6-qtbase



Module Name:    pkgsrc
Committed By:   nros
Date:           Tue Nov 12 14:27:30 UTC 2024

Modified Files:
        pkgsrc/x11/qt6-qtbase: Makefile.common

Log Message:
qt6: only create lib/pkgconfig if a package has pc files

There are (will be) qt6 packages that don't install
pc files so don't add an empty dir to these packages.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/x11/qt6-qtbase/Makefile.common

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

Modified files:

Index: pkgsrc/x11/qt6-qtbase/Makefile.common
diff -u pkgsrc/x11/qt6-qtbase/Makefile.common:1.40 pkgsrc/x11/qt6-qtbase/Makefile.common:1.41
--- pkgsrc/x11/qt6-qtbase/Makefile.common:1.40  Mon Jun 10 21:15:17 2024
+++ pkgsrc/x11/qt6-qtbase/Makefile.common       Tue Nov 12 14:27:30 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.40 2024/06/10 21:15:17 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.41 2024/11/12 14:27:30 nros Exp $
 # used by audio/qt6-qtspeech/Makefile
 # used by comms/qt6-qtconnectivity/Makefile
 # used by databases/qt6-odbc/Makefile
@@ -96,13 +96,13 @@ do-configure:
 #do-install:
 #      cd ${WRKSRC}/${QTCONFDIR} && ${SETENV} ${INSTALL_ENV} ninja ${INSTALL_TARGET}
 
-INSTALLATION_DIRS+=            lib/pkgconfig
 PKGCONFIG_OVERRIDE_STAGE=      post-build
 .PHONY: pkgconfig-link
 post-install: pkgconfig-link
 pkgconfig-link:
        ${RUN}  if ${TEST} -d ${DESTDIR}${QTPREFIX}/lib/pkgconfig; then                 \
                ${ECHO} -- Linking pkg-config files to pkgconfig dir in prefix;         \
+               ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig;                  \
                ${FIND} ${DESTDIR}${QTPREFIX}/lib/pkgconfig -name "*.pc" -print |       \
                        while read pcpath; do                                           \
                        pcfile=`basename $${pcpath}`;                                   \



Home | Main Index | Thread Index | Old Index