pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_install



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jul  1 12:16:14 UTC 2025

Modified Files:
        pkgsrc/pkgtools/pkg_install: Makefile

Log Message:
pkg_install: Add ugly workaround for SunOS/gcc14.

libnbcompat should absolutely not be leaking into the builds of the inplace
components, but fixing that correctly will require a much larger change.


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 pkgsrc/pkgtools/pkg_install/Makefile

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

Modified files:

Index: pkgsrc/pkgtools/pkg_install/Makefile
diff -u pkgsrc/pkgtools/pkg_install/Makefile:1.244 pkgsrc/pkgtools/pkg_install/Makefile:1.245
--- pkgsrc/pkgtools/pkg_install/Makefile:1.244  Sat Apr 19 08:07:27 2025
+++ pkgsrc/pkgtools/pkg_install/Makefile        Tue Jul  1 12:16:14 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.244 2025/04/19 08:07:27 wiz Exp $
+# $NetBSD: Makefile,v 1.245 2025/07/01 12:16:14 jperkin Exp $
 
 # Notes to package maintainers:
 #
@@ -175,6 +175,14 @@ LDFLAGS+=  -L${WRKDIR}/netpgp
 
 CONFIGURE_ENV+=        LIBS=${LIBS:Q}
 
+# XXX: libnbcompat provides this function, so libarchive configure thinks it
+# is available, but does not use nbcompat headers and thus falls foul of GCC
+# 14 implicit declaration checks later on.
+#
+# TODO: provide a sane environment for each inplace build, this is just
+# papering over cracks, libarchive should not be using libnbcompat at all.
+CONFIGURE_ENV.SunOS+=  ac_cv_func_lchmod=no
+
 do-extract:
        @${CP} -R ${FILESDIR} ${WRKSRC}
 .if empty(USE_BUILTIN.bzip2:M[yY][eE][sS])



Home | Main Index | Thread Index | Old Index