pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/prefork



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jun 25 17:00:10 UTC 2025

Modified Files:
        pkgsrc/sysutils/prefork: distinfo
        pkgsrc/sysutils/prefork/patches: patch-Makefile

Log Message:
prefork: support PKGMANDIR.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/prefork/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/prefork/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/sysutils/prefork/distinfo
diff -u pkgsrc/sysutils/prefork/distinfo:1.1 pkgsrc/sysutils/prefork/distinfo:1.2
--- pkgsrc/sysutils/prefork/distinfo:1.1        Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/distinfo    Wed Jun 25 17:00:10 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2025/06/25 17:00:10 schmonz Exp $
 
 BLAKE2s (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) = e7a73cb23054eb5ce049600811743296a4e0a339a9b6fd00da346478ec9e6bb6
 SHA512 (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) = 
6863f9833805bd364fee4abd28381cae1bd0909632a7d522546ea4381a319ee2349eeb2e96ea649426c64be2b42326fc1b5d881b73b205fecf8d7a269eb5352f
 Size (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) = 7167 bytes
-SHA1 (patch-Makefile) = 742b656d0fa52374162eac0590e304f5707cfe3a
+SHA1 (patch-Makefile) = a55871b41cfee96f35b63e6a3edec199f602ab0a

Index: pkgsrc/sysutils/prefork/patches/patch-Makefile
diff -u pkgsrc/sysutils/prefork/patches/patch-Makefile:1.1 pkgsrc/sysutils/prefork/patches/patch-Makefile:1.2
--- pkgsrc/sysutils/prefork/patches/patch-Makefile:1.1  Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/patches/patch-Makefile      Wed Jun 25 17:00:10 2025
@@ -1,10 +1,18 @@
-$NetBSD: patch-Makefile,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+$NetBSD: patch-Makefile,v 1.2 2025/06/25 17:00:10 schmonz Exp $
 
-Don't build or install catpages.
+Support PKGMANDIR, and skip catpages.
 
---- Makefile.orig      2025-05-15 18:02:23.019642424 +0000
+--- Makefile.orig      2024-10-29 13:40:43.000000000 +0000
 +++ Makefile
-@@ -16,7 +16,7 @@ NROFF        ?= nroff
+@@ -3,6 +3,7 @@
+ 
+ DESTDIR       ?= /
+ PREFIX        ?= /usr
++PKGMANDIR ?= man
+ NROFF ?= nroff
+ 
+ #
+@@ -16,18 +17,16 @@ NROFF      ?= nroff
  # CFLAGS+= -Wno-unused-parameter -Wsign-compare
  # CFLAGS+= -Werror
  
@@ -13,14 +21,16 @@ Don't build or install catpages.
  
  clean:
        rm -f prefork prefork.o prefork.0
-@@ -24,10 +24,8 @@ clean:
+ 
  install:
        umask 022 && mkdir -p           $(DESTDIR)/$(PREFIX)/libexec
-       umask 022 && mkdir -p           $(DESTDIR)/$(PREFIX)/man/man8
+-      umask 022 && mkdir -p           $(DESTDIR)/$(PREFIX)/man/man8
 -      umask 022 && mkdir -p           $(DESTDIR)/$(PREFIX)/man/cat8
++      umask 022 && mkdir -p           $(DESTDIR)/$(PREFIX)/$(PKGMANDIR)/man8
        install -c -m755 prefork        $(DESTDIR)/$(PREFIX)/libexec
-       install -c -m644 prefork.8      $(DESTDIR)/$(PREFIX)/man/man8/
+-      install -c -m644 prefork.8      $(DESTDIR)/$(PREFIX)/man/man8/
 -      install -c -m644 prefork.0      $(DESTDIR)/$(PREFIX)/man/cat8/
++      install -c -m644 prefork.8      $(DESTDIR)/$(PREFIX)/$(PKGMANDIR)/man8/
  
  prefork.0: prefork.8
        $(NROFF) -mandoc prefork.8 > $@



Home | Main Index | Thread Index | Old Index