`. To generate all patches invoke
+
+ mkpatches
+
+from the package directory (not the work directory!) The new patches will be saved in the `patches/` directory along with backups of the previous patchset. When you are content with the generated patches commit them and update the patch checksums:
+
+ mkpatches -c
+ bmake makepatchsum
+
+You may also revert to the old patches by calling `mkpatches -r`.
+
+Now clean up and try to rebuild your package:
+
+ bmake clean
+ bmake
+
+If you have any other changes to add, you can remove the package again and repeat these steps.
## Submitting a package in pkgsrc
@@ -285,7 +302,7 @@ It is also possible to import new packages in pkgsrc-wip. See [http://pkgsrc-wip
- Previously, the work directory was created directly in the directory dedicated to the ported application, under the pkgsrc directory. But to preserve the integrity of these directories and to be able to compile on another volume, the working files have been moved under /usr/obj. The source code located in /usr/src followed the same path.
+ Previously, the work directory was created directly in the directory dedicated to the ported application, under the pkgsrc directory. But to preserve the integrity of these directories and to be able to compile on another volume, the working files have been moved under /usr/pkgobj.
|