- Fix staging of meta ports that have no files, such as

mail/squirrelmail-plugins

Discussed with:	bapt
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2013-09-24 21:43:43 +00:00
parent 8c3cc12386
commit adcf207c9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328199
2 changed files with 12 additions and 1 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.1.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= ports-mgmt
MASTER_SITES= http://files.etoilebsd.net/pkg/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \

View file

@ -0,0 +1,11 @@
--- ./libpkg/pkg_create.c.orig 2013-09-24 16:27:05.716245523 -0500
+++ ./libpkg/pkg_create.c 2013-09-24 16:27:17.642245427 -0500
@@ -323,7 +323,7 @@
goto cleanup;
}
- if (pkg_files(pkg, &file) != EPKG_OK &&
+ if (0 && pkg_files(pkg, &file) != EPKG_OK &&
pkg_dirs(pkg, &dir) != EPKG_OK) {
/* Now traverse the file directories, adding to the archive */
packing_append_tree(pkg_archive, md_dir, NULL);