pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/unrar



Module Name:    pkgsrc
Committed By:   martin
Date:           Sat Sep 18 09:37:51 UTC 2021

Modified Files:
        pkgsrc/archivers/unrar: distinfo
Added Files:
        pkgsrc/archivers/unrar/patches: patch-makefile

Log Message:
Actually make this MAKE_JOBS safe (hint from Joerg)


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/archivers/unrar/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/archivers/unrar/patches/patch-makefile

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

Modified files:

Index: pkgsrc/archivers/unrar/distinfo
diff -u pkgsrc/archivers/unrar/distinfo:1.86 pkgsrc/archivers/unrar/distinfo:1.87
--- pkgsrc/archivers/unrar/distinfo:1.86        Wed Jul  7 08:50:07 2021
+++ pkgsrc/archivers/unrar/distinfo     Sat Sep 18 09:37:51 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.86 2021/07/07 08:50:07 adam Exp $
+$NetBSD: distinfo,v 1.87 2021/09/18 09:37:51 martin Exp $
 
 SHA1 (unrarsrc-6.0.7.tar.gz) = 041a36ea448c73555ab94070add7dfaa0ef62bb0
 RMD160 (unrarsrc-6.0.7.tar.gz) = 8d800632d865a56584f640d96c7672797bda3193
 SHA512 (unrarsrc-6.0.7.tar.gz) = 2c50d1f58f5189e59dad36eb25aa50a34572f583242e624846c9791c5609e83d4ee76314d785771fe514ec3378749dcb86e4c97a8d2a3ab7b469df49a5c5f412
 Size (unrarsrc-6.0.7.tar.gz) = 232903 bytes
+SHA1 (patch-makefile) = b467d681dacd3230c6b8761400e6c5566663eae4

Added files:

Index: pkgsrc/archivers/unrar/patches/patch-makefile
diff -u /dev/null pkgsrc/archivers/unrar/patches/patch-makefile:1.3
--- /dev/null   Sat Sep 18 09:37:51 2021
+++ pkgsrc/archivers/unrar/patches/patch-makefile       Sat Sep 18 09:37:51 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-makefile,v 1.3 2021/09/18 09:37:51 martin Exp $
+
+Avoid race condition with parallel makes (cleaning freshly made new .o files)
+
+--- makefile.orig      2020-05-21 11:13:21.000000000 +0200
++++ makefile   2021-09-18 11:32:41.790564278 +0200
+@@ -142,20 +142,20 @@ clean:
+       @rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ)
+       @rm -f unrar libunrar.*
+ 
+-unrar:        clean $(OBJECTS) $(UNRAR_OBJ)
++unrar:        $(OBJECTS) $(UNRAR_OBJ)
+       @rm -f unrar
+       $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)     
+       $(STRIP) unrar
+ 
+ sfx:  WHAT=SFX_MODULE
+-sfx:  clean $(OBJECTS)
++sfx:  $(OBJECTS)
+       @rm -f default.sfx
+       $(LINK) -o default.sfx $(LDFLAGS) $(OBJECTS)
+       $(STRIP) default.sfx
+ 
+ lib:  WHAT=RARDLL
+ lib:  CXXFLAGS+=$(LIBFLAGS)
+-lib:  clean $(OBJECTS) $(LIB_OBJ)
++lib:  $(OBJECTS) $(LIB_OBJ)
+       @rm -f libunrar.*
+       $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+       $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)



Home | Main Index | Thread Index | Old Index