freebsd-ports/editors/openoffice-3-devel/files/patch-i73157
Maho Nakata 0428227a94 Fix `epm: Unable to execute "pkg_create" program: No such file or directory' problem.
(epm is an external library so we don't need JCA)

PR:		107126
Submitted by:	Peter Jeremy
2007-01-05 07:11:59 +00:00

30 lines
870 B
Text

--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);