pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2026Q3] pkgsrc/archivers/libarchive/files



Module Name:    pkgsrc
Committed By:   maya
Date:           Thu Oct 22 21:11:10 UTC 2026

Modified Files:
        pkgsrc/archivers/libarchive/files [pkgsrc-2026Q3]: Makefile.am

Log Message:
Pullup ticket #7317 - requested by bsiegert
archivers/libarchive: Build fix

Revisions pulled up:
- archivers/libarchive/files/Makefile.am                        1.29

---
   Module Name: pkgsrc
   Committed By:        dholland
   Date:                Wed Oct 21 23:38:31 UTC 2026

   Modified Files:
        pkgsrc/archivers/libarchive/files: Makefile.am

   Log Message:
   archivers/libarchive: fix build on -10 / with older bmake

   Avoid using $^ in the makefile. With bmake that doesn't support it,
   which includes the one on -10 which is still supported, it expands to
   empty and the result is that the build hangs trying to grep from
   stdin.

   Once -10 is EOL this change can be dropped.

   Build fix, so no need to bump anything.

   PR 60077


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.2.1 pkgsrc/archivers/libarchive/files/Makefile.am

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

Modified files:

Index: pkgsrc/archivers/libarchive/files/Makefile.am
diff -u pkgsrc/archivers/libarchive/files/Makefile.am:1.27 pkgsrc/archivers/libarchive/files/Makefile.am:1.27.2.1
--- pkgsrc/archivers/libarchive/files/Makefile.am:1.27  Sat Aug  1 15:33:00 2026
+++ pkgsrc/archivers/libarchive/files/Makefile.am       Thu Oct 22 21:11:10 2026
@@ -748,7 +748,7 @@ libarchive_test_LDADD= $(LTLIBICONV)
 # above.
 libarchive/test/list.h: $(libarchive_test_SOURCES)
        $(MKDIR_P) libarchive/test
-       grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
+       grep -h '^DEFINE_TEST(' $(libarchive_test_SOURCES) | LC_COLLATE=C sort > $@
 
 libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test LRZIP=NOCONFIG
 
@@ -1382,7 +1382,7 @@ bsdtar_test_CPPFLAGS=\
 
 tar/test/list.h: $(bsdtar_test_SOURCES)
        $(MKDIR_P) tar/test
-       grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
+       grep -h '^DEFINE_TEST(' $(bsdtar_test_SOURCES) | LC_COLLATE=C sort > $@
 
 if BUILD_BSDTAR
 bsdtar_test_programs= bsdtar_test
@@ -1540,7 +1540,7 @@ bsdcpio_test_LDADD=libarchive_fe.la
 
 cpio/test/list.h: $(bsdcpio_test_SOURCES)
        $(MKDIR_P) cpio/test
-       grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
+       grep -h '^DEFINE_TEST(' $(bsdcpio_test_SOURCES) | LC_COLLATE=C sort > $@
 
 if BUILD_BSDCPIO
 bsdcpio_test_programs= bsdcpio_test
@@ -1663,7 +1663,7 @@ bsdcat_test_LDADD=libarchive_fe.la
 
 cat/test/list.h: $(bsdcat_test_SOURCES)
        $(MKDIR_P) cat/test
-       grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
+       grep -h '^DEFINE_TEST(' $(bsdcat_test_SOURCES) | LC_COLLATE=C sort > $@
 
 if BUILD_BSDCAT
 bsdcat_test_programs= bsdcat_test
@@ -1795,7 +1795,7 @@ bsdunzip_test_LDADD=libarchive_fe.la
 
 unzip/test/list.h: $(bsdunzip_test_SOURCES)
        $(MKDIR_P) unzip/test
-       grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
+       grep -h '^DEFINE_TEST(' $(bsdunzip_test_SOURCES) | LC_COLLATE=C sort > $@
 
 if BUILD_BSDUNZIP
 bsdunzip_test_programs= bsdunzip_test



Home | Main Index | Thread Index | Old Index