Apply a patch from git that fixes make packages with hardlinks and config files.

This commit is contained in:
Brad Davis 2018-09-10 22:28:59 +00:00
parent 0d17a979ec
commit 27f9bf5942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479486
2 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.10.5
PORTREVISION= 2
PORTREVISION= 3
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
MASTER_SITES= \

View File

@ -0,0 +1,16 @@
--- libpkg/pkg_ports.c
+++ libpkg/pkg_ports.c
@@ -353,13 +353,6 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
pkg_addconfig_file(p->pkg, path, content);
free(content);
}
- } else {
- if (is_config) {
- pkg_emit_error("Plist error, @config %s: not a regular "
- "file", line);
- free(buf);
- return (EPKG_FATAL);
- }
}
if (S_ISDIR(st.st_mode) &&