| Index: lib/naclports/source_package.py
|
| diff --git a/lib/naclports/source_package.py b/lib/naclports/source_package.py
|
| index e2d5801c3c24f57fdb2e2ddfb728f562cd233245..0bb857a42c5917f659d28f0b72a9902bf8a0f8df 100644
|
| --- a/lib/naclports/source_package.py
|
| +++ b/lib/naclports/source_package.py
|
| @@ -291,9 +291,7 @@ class SourcePackage(package.Package):
|
| def CreatePkgFile(self):
|
| """Create and pkg file for use with the FreeBSD pkg tool.
|
|
|
| - This step is designed to run after the build scripts and will
|
| - package up any files published by the PublishByArchForDevEnv
|
| - step.
|
| + Create a package from the result of the package's InstallStep.
|
| """
|
| install_dir = self.GetInstallLocation()
|
| if not os.path.exists(install_dir):
|
| @@ -305,9 +303,7 @@ class SourcePackage(package.Package):
|
| abi_dir = os.path.join(paths.PUBLISH_ROOT, abi)
|
| pkg_file = os.path.join(abi_dir, '%s-%s.tbz' % (self.NAME,
|
| self.VERSION))
|
| -
|
| util.Makedirs(abi_dir)
|
| -
|
| bsd_pkg.CreatePkgFile(self.NAME, self.VERSION, self.config.arch,
|
| self.GetInstallLocation(), pkg_file)
|
|
|
|
|