diff options
author | obache <obache@pkgsrc.org> | 2014-12-17 06:08:13 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-12-17 06:08:13 +0000 |
commit | 0ca94eccbfe8f3baafa81470b94485c6d74e192f (patch) | |
tree | 7ff2374b536fb3b2d905fa166f5228fe73686882 /devel | |
parent | 0de116dc8c6dd6dd0f9b9af27a2883e6fd243fc3 (diff) | |
download | pkgsrc-0ca94eccbfe8f3baafa81470b94485c6d74e192f.tar.gz |
"-a" option for cp(1) is not portable, use standard combination "-RpP" instead.
PR pkg/49475 by Sevan Janiyan.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/commit-patch/distinfo | 4 | ||||
-rw-r--r-- | devel/commit-patch/patches/patch-Makefile | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/devel/commit-patch/distinfo b/devel/commit-patch/distinfo index 6cf6be60532..4e152a1571c 100644 --- a/devel/commit-patch/distinfo +++ b/devel/commit-patch/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2014/08/09 23:49:53 wiz Exp $ +$NetBSD: distinfo,v 1.2 2014/12/17 06:08:13 obache Exp $ SHA1 (commit-patch-2.5.tar.gz) = 9d41c31adaa6f8a70296b8105736661bba7ef55e RMD160 (commit-patch-2.5.tar.gz) = ac1193b785bd6bc271254e192ced869967bc87db Size (commit-patch-2.5.tar.gz) = 20200 bytes -SHA1 (patch-Makefile) = 6b0a4f274f325e186465398dfa35e43ca305f7cd +SHA1 (patch-Makefile) = d8e0b5dd2b71ab6d59c57a3ad628265a3f2b67d7 diff --git a/devel/commit-patch/patches/patch-Makefile b/devel/commit-patch/patches/patch-Makefile index e310e7addc7..c9b77a2b2e2 100644 --- a/devel/commit-patch/patches/patch-Makefile +++ b/devel/commit-patch/patches/patch-Makefile @@ -1,6 +1,7 @@ -$NetBSD: patch-Makefile,v 1.1 2014/08/09 23:49:53 wiz Exp $ +$NetBSD: patch-Makefile,v 1.2 2014/12/17 06:08:13 obache Exp $ -Fix man page installation path. +* Fix man page installation path. +* `-a' option for cp(1) is not portable. --- Makefile.orig 2013-05-16 02:28:56.000000000 +0000 +++ Makefile @@ -12,8 +13,11 @@ Fix man page installation path. + mkdir -p "$(PREFIX)/${PKGMANDIR}/man1" mkdir -p "$(PREFIX)/share/emacs/site-lisp" mkdir -p "$(PREFIX)/share/doc/commit-patch" - cp -a $(BIN) "$(PREFIX)/bin" +- cp -a $(BIN) "$(PREFIX)/bin" - cp -a $(MAN) "$(PREFIX)/share/man/man1" -+ cp -a $(MAN) "$(PREFIX)/${PKGMANDIR}/man1" - cp -a $(ELISP) "$(PREFIX)/share/emacs/site-lisp" - cp -a $(DOC) "$(PREFIX)/share/doc/commit-patch" +- cp -a $(ELISP) "$(PREFIX)/share/emacs/site-lisp" +- cp -a $(DOC) "$(PREFIX)/share/doc/commit-patch" ++ cp -RpP $(BIN) "$(PREFIX)/bin" ++ cp -RpP $(MAN) "$(PREFIX)/${PKGMANDIR}/man1" ++ cp -RpP $(ELISP) "$(PREFIX)/share/emacs/site-lisp" ++ cp -RpP $(DOC) "$(PREFIX)/share/doc/commit-patch" |