diff options
-rw-r--r-- | README | 8 | ||||
-rwxr-xr-x | psu (renamed from undopatch) | 4 | ||||
-rwxr-xr-x | psx (renamed from xpkg) | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -16,10 +16,10 @@ The other scripts have no special relation to pkgtools/pkgdiff. Use `convpatch' to make a patch from `git diff' output. Use `savepatch' to save a patch in ~/patches. - Use `undopatch' to undo all patches applied to a pkgsrc build. - Use `xpkg' to fetch and extract a pkgsrc package. + Use `psu' to undo all patches applied to a pkgsrc build. + Use `psx' to fetch and extract a pkgsrc package. -The `undopatch' and `xpkg' scripts are only to be used within pkgsrc +The `psu' and `psx' scripts are only to be used within pkgsrc package directories. They do nothing within the NetBSD source tree. Applying pkgsrc patches @@ -32,7 +32,7 @@ LOCALPATCHES variable in mk.conf: To rebuild a package with new patches, something along the following lines should be performed: - undopatch + psu -x make do-patch make do-build make do-install @@ -1,8 +1,8 @@ #!/bin/sh -e -# undopatch -- undo patches applied to pkgsrc build +# psu -- undo patches applied to pkgsrc build -d=$(xpkg) +d=$(psx) echo=echo echo "${0##*/}: undoing patches..." 1>&2 [ x"$1" = x"-x" ] && echo= || echo '(preview, no -x)' 1>&2 @@ -1,6 +1,6 @@ #!/bin/sh -e -# xpkg -- fetch and extract pkgsrc archive +# psx -- fetch and extract pkgsrc archive case "$PWD" in /usr/pkgsrc/*/*) ;; |