pkgsrc-WIP-changes archive

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

isa-l: Force installation of libraries



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sun Jun 1 08:17:22 2025 -0500
Changeset:	3635b640d7cdd5ee5dd3ee9c32d44ee80964acdc

Modified Files:
	fastp/Makefile
	fastp/distinfo
	fastp/patches/patch-Makefile
	isa-l/Makefile
	isa-l/PLIST

Log Message:
isa-l: Force installation of libraries

Unsure why configure-generated Makefile isn't doing it

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

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

diffstat:
 fastp/Makefile               |  2 ++
 fastp/distinfo               |  2 +-
 fastp/patches/patch-Makefile | 14 ++++++++++++--
 isa-l/Makefile               |  7 ++++++-
 isa-l/PLIST                  |  4 ++++
 5 files changed, 25 insertions(+), 4 deletions(-)

diffs:
diff --git a/fastp/Makefile b/fastp/Makefile
index 1cef319af4..5bd622b642 100644
--- a/fastp/Makefile
+++ b/fastp/Makefile
@@ -20,4 +20,6 @@ post-install:
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
+.include "../../wip/isa-l/buildlink3.mk"
+.include "../../devel/libdeflate/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/fastp/distinfo b/fastp/distinfo
index 1cca475914..a03fe502b9 100644
--- a/fastp/distinfo
+++ b/fastp/distinfo
@@ -3,5 +3,5 @@ $NetBSD$
 BLAKE2s (fastp-0.24.3.tar.gz) = 3f25bb88acf3ee7f5ce76cf7d72c836ff0f0db20a6183a9c505b4f0dea764a21
 SHA512 (fastp-0.24.3.tar.gz) = d307001de201db026a04eaa875eabec00ce4b6841782ced4cf31f22e89cb5f30c6d109002c9ded3a959f1669208d6eeff402290305b6e9b8864fde853b61909f
 Size (fastp-0.24.3.tar.gz) = 164518 bytes
-SHA1 (patch-Makefile) = 14f5ada5cb7cadd8b6b70cad3c2657b7e8578648
+SHA1 (patch-Makefile) = 97e7e159c94834535c42837923251344a9e5d667
 SHA1 (patch-src_main.cpp) = d28fb587c72b59f4c86bc51fd66874344a9dd43d
diff --git a/fastp/patches/patch-Makefile b/fastp/patches/patch-Makefile
index b81c2625ab..5318780b1f 100644
--- a/fastp/patches/patch-Makefile
+++ b/fastp/patches/patch-Makefile
@@ -1,8 +1,8 @@
 $NetBSD$
 
-# Respect build env
+# Respect build env, add destdir support
 
---- Makefile.orig	2025-05-31 20:40:16.035281359 +0000
+--- Makefile.orig	2025-05-28 22:47:44.000000000 +0000
 +++ Makefile
 @@ -15,15 +15,18 @@ TARGET := fastp
  BIN_TARGET := ${TARGET}
@@ -27,3 +27,13 @@ $NetBSD$
  
  static:${OBJ}
  	$(CXX) $(OBJ) -o ${BIN_TARGET} $(STATIC_LD_FLAGS)
+@@ -39,7 +42,8 @@ clean:
+ 	@rm -f $(TARGET)
+ 
+ install:
+-	install $(TARGET) $(BINDIR)/$(TARGET)
++	mkdir -p $(DESTDIR)$(BINDIR)
++	install $(TARGET) $(DESTDIR)$(BINDIR)
+ 	@echo "Installed."
+ 
+ -include $(OBJ:.o=.d)
diff --git a/isa-l/Makefile b/isa-l/Makefile
index 79dc098dfd..11dac5d336 100644
--- a/isa-l/Makefile
+++ b/isa-l/Makefile
@@ -28,6 +28,11 @@ GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
 pre-configure:
-	(cd ${WRKSRC} && autoreconf -if)
+	(cd ${WRKSRC} && autoreconf --install --symlink -f -Wno-obsolete)
+
+# FIXME: Why isn't the upstream Makefile installing these??
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/.libs/*.so* ${DESTDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/.libs/*.a ${DESTDIR}${PREFIX}/lib
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/isa-l/PLIST b/isa-l/PLIST
index 2ab929f7fe..674072c9fc 100644
--- a/isa-l/PLIST
+++ b/isa-l/PLIST
@@ -9,6 +9,10 @@ include/isa-l/igzip_lib.h
 include/isa-l/mem_routines.h
 include/isa-l/raid.h
 include/isa-l/test.h
+lib/libisal.a
 lib/libisal.la
+lib/libisal.so
+lib/libisal.so.2
+lib/libisal.so.2.0.31
 lib/pkgconfig/libisal.pc
 man/man1/igzip.1


Home | Main Index | Thread Index | Old Index