ports/devel/pmdk/files/patch-src_common.inc
Muhammad Moinur Rahman 581e63a7f1 devel/pmdk: Update version 1.6.1=>1.13.1
- Unbreaks with llvm15
- Pet portclippy
- Adopt port
- Mark DEPRECATED as support for FreeBSD is deprecated since 1.13.0 and
  will dropped on 1.14.0
- Set EXPIRATION_DATE to 2023-12-31

Changelog: https://github.com/pmem/pmdk/releases/tag/1.13.1
2023-06-09 00:57:49 +02:00

23 lines
1 KiB
PHP

--- src/common.inc.orig 2023-05-31 11:28:01 UTC
+++ src/common.inc
@@ -179,9 +179,9 @@ else
export OG_AVAILABLE
endif
-install_recursive = $(shell cd $(1) && find . -type f -exec install -m $(2) -D {} $(3)/{} \;)
+install_recursive = $(shell cd $(1) && find . -type d -exec install -d $(3)/{} \; && find . -type f -exec install -m $(2) {} $(3)/{} \;)
-install_recursive_filter = $(shell cd $(1) && find . -type f -name "$(2)" -exec install -m $(3) -D {} $(4)/{} \;)
+install_recursive_filter = $(shell cd $(1) && find . -type d -exec install -d $(4)/{} \; && find . -type f -name "$(2)" -exec install -m $(3) {} $(4)/{} \;)
define create-deps
@cp $(objdir)/$*.d $(objdir)/.deps/$*.P; \
@@ -202,7 +202,7 @@ export prefix = /usr/local
export exec_prefix := $(prefix)
export sysconfdir := $(prefix)/etc
export datarootdir := $(prefix)/share
-export mandir := $(datarootdir)/man
+export mandir := $(MANPREFIX)/man
export docdir := $(datarootdir)/doc
export man1dir := $(mandir)/man1
export man3dir := $(mandir)/man3