diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-16 16:29:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-16 16:29:27 +0000 |
commit | 8fe395a3374cfd05e657187504cec118b6d723c7 (patch) | |
tree | 6aa7ab1b9ececb0dee0c7ed516a1dbcdb9c1e7b3 /mk/checksum/distinfo.awk | |
parent | 0a4004e2ce7c0252a84e3856cc07e9b8811ccc74 (diff) | |
download | pkgsrc-8fe395a3374cfd05e657187504cec118b6d723c7.tar.gz |
Allow for emulation-specific patches for binary-only packages. The
patches are named emul-${EMUL_PLATFORM}-patch-* and are located in
${PATCHDIR}.
Diffstat (limited to 'mk/checksum/distinfo.awk')
-rw-r--r-- | mk/checksum/distinfo.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/checksum/distinfo.awk b/mk/checksum/distinfo.awk index d119c4a97c1..ebb22e07aac 100644 --- a/mk/checksum/distinfo.awk +++ b/mk/checksum/distinfo.awk @@ -1,6 +1,6 @@ #!/usr/bin/awk -f # -# $NetBSD: distinfo.awk,v 1.3 2007/08/14 19:22:31 jlam Exp $ +# $NetBSD: distinfo.awk,v 1.4 2007/08/16 16:29:27 jlam Exp $ # # Copyright (c) 2007 The NetBSD Foundation, Inc. # All rights reserved. @@ -57,7 +57,7 @@ # # For example: # -# $NetBSD: distinfo.awk,v 1.3 2007/08/14 19:22:31 jlam Exp $ +# $NetBSD: distinfo.awk,v 1.4 2007/08/16 16:29:27 jlam Exp $ # # SHA1 (make-3.81.tar.gz) = cd4fa5a3184176492bf0799593a8f250a728210c # RMD160 (make-3.81.tar.gz) = a713a72875cb9a29568677c98022465c6f55cbbf @@ -280,7 +280,7 @@ function header() { ### function is_patch(file) { if (file ~ /^patch-local-|[.]orig$|[.]rej$|~$/) return 0 - if (file ~ /^patch-/) return 1 + if (file ~ /^patch-|^emul-.*-patch-/) return 1 return 0 } |