commit:     0294ef93df477b1d12832ffcf71111d823cb4b22
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Thu Jun 26 19:19:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 19:54:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0294ef93

app-admin/analog: convert all make calls to nicer format

Suggested by @thesamesam

Link: https://github.com/gentoo/gentoo/pull/42447#discussion_r2127539884
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/42766
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/analog-6.0.18-posix-makefiles.patch      | 51 ++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/app-admin/analog/files/analog-6.0.18-posix-makefiles.patch 
b/app-admin/analog/files/analog-6.0.18-posix-makefiles.patch
new file mode 100644
index 000000000000..26615cc222b7
--- /dev/null
+++ b/app-admin/analog/files/analog-6.0.18-posix-makefiles.patch
@@ -0,0 +1,51 @@
+Convert all make calls to POSIX format.
+
+Suggested by @thesamesam
+Link: https://github.com/gentoo/gentoo/pull/42447#discussion_r2127539884
+
+--- a/Makefile
++++ b/Makefile
+@@ -5,9 +5,9 @@
+ PROGRAM = analog
+ 
+ $(PROGRAM): ALWAYS
+-      cd src && make
++      $(MAKE) -C src
+ 
+ clean:
+-      cd src && make clean
++      $(MAKE) -C src clean
+ 
+ ALWAYS:
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -98,13 +98,13 @@
+ # There doesn't seem to be a good way to write all these rules in a generic
+ # form that works for all "make" programs
+ bzip2: ALWAYS
+-      cd bzip2 && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
++      $(MAKE) -C bzip2 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ libgd: ALWAYS
+-      cd libgd && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
++      $(MAKE) -C libgd 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ libpng: ALWAYS
+-      cd libpng && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
++      $(MAKE) -C libpng 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ pcre2: ALWAYS
+       chmod 755 pcre2/132html pcre2/ar-lib pcre2/CheckMan pcre2/CleanTxt 
pcre2/compile pcre2/config.guess pcre2/config.sub pcre2/configure pcre2/depcomp 
pcre2/Detrail pcre2/install-sh pcre2/missing pcre2/perltest.sh 
pcre2/PrepareRelease pcre2/RunGrepTest pcre2/RunTest pcre2/test-driver
+@@ -113,10 +113,10 @@
+       cd pcre2 && ./configure && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ unzip: ALWAYS
+-      cd unzip && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
++      $(MAKE) -C unzip 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ zlib: ALWAYS
+-      cd zlib && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
++      $(MAKE) -C zlib 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
+ 
+ alias.o: alias.c $(HEADERS) Makefile
+       $(CC) $(ALLCFLAGS) -c alias.c

Reply via email to