pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/icb



Module Name:    pkgsrc
Committed By:   chuck
Date:           Fri Apr 19 17:00:47 UTC 2024

Modified Files:
        pkgsrc/chat/icb: distinfo
Added Files:
        pkgsrc/chat/icb/patches: patch-Makefile

Log Message:
Fix MAKEFLAGS handling to work with spaces in UNPRIVILEGED_GROUPS

Let environment variables handling passing MFLAGS/MAKEFLAGS to children
rather than do it explicitly on the command line.  As of 1.24 of
mk/unprivileged.mk pkgsrc puts UNPRIVILEGED_GROUPS in MAKEFLAGS.
UNPRIVILEGED_GROUPS contains a space-separated list of the groups
the current account is a member of.  This requires proper quoting
in MAKEFLAGS if the current account is a member of more than one group
(due to the spaces), and the old version of Makefile does not take
that into account.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/chat/icb/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/icb/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/chat/icb/distinfo
diff -u pkgsrc/chat/icb/distinfo:1.22 pkgsrc/chat/icb/distinfo:1.23
--- pkgsrc/chat/icb/distinfo:1.22       Tue Oct 26 10:05:15 2021
+++ pkgsrc/chat/icb/distinfo    Fri Apr 19 17:00:47 2024
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.22 2021/10/26 10:05:15 nia Exp $
+$NetBSD: distinfo,v 1.23 2024/04/19 17:00:47 chuck Exp $
 
 BLAKE2s (icb-5.0.9.tar.gz) = e36c28e37b84806ff0b2eab323710be73251b31a231d639ad4f0e2a519d38adf
 SHA512 (icb-5.0.9.tar.gz) = d72a30cd671242dceb98defae80780bffd2aaaddfea2bf50d0970368f2601dd203b13939d102ce9af3c8d46373addcd2bcf385a1bb8e3c3b3674c21072fd8d00
 Size (icb-5.0.9.tar.gz) = 357565 bytes
+SHA1 (patch-Makefile) = 466e900febf580de486de3336de93b8b4030927e
 SHA1 (patch-aa) = b82fb642c79a200aaa47b0db397c82f19fb7f9ff
 SHA1 (patch-ab) = 30c85ad51b12d7730e950a641fccf3f319902fcc
 SHA1 (patch-ac) = 99631dd1c526d5a07339205bad031003f6920495

Added files:

Index: pkgsrc/chat/icb/patches/patch-Makefile
diff -u /dev/null pkgsrc/chat/icb/patches/patch-Makefile:1.1
--- /dev/null   Fri Apr 19 17:00:47 2024
+++ pkgsrc/chat/icb/patches/patch-Makefile      Fri Apr 19 17:00:47 2024
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile,v 1.1 2024/04/19 17:00:47 chuck Exp $
+
+Let environment variables handling passing MFLAGS/MAKEFLAGS to children
+rather than do it explicitly on the command line.  As of 1.24 of
+mk/unprivileged.mk pkgsrc puts UNPRIVILEGED_GROUPS in MAKEFLAGS.
+UNPRIVILEGED_GROUPS contains a space-separated list of the groups
+the current account is a member of.  This requires proper quoting
+in MAKEFLAGS if the current account is a member of more than one group
+(due to the spaces), and the old version of Makefile does not take
+that into account.
+
+--- ./Makefile.orig    1995-02-24 16:19:28.000000000 -0500
++++ ./Makefile 2024-04-19 11:53:34.256872226 -0400
+@@ -38,7 +38,7 @@
+ all:          $(PREREQS)
+       @for dir in ${DIRS}; do \
+               (echo Making in $${dir}; \
+-               cd $${dir}; sh ./gen ${MFLAGS} -${MAKEFLAGS}); done
++               cd $${dir}; sh ./gen); done
+ 
+ install:      $(PREREQS)
+       @for dir in ${DIRS} ${MANDIRS}; do \



Home | Main Index | Thread Index | Old Index