pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/commit-patch "-a" option for cp(1) is not portab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f9472a248cb
branches:  trunk
changeset: 643427:3f9472a248cb
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Dec 17 06:08:13 2014 +0000

description:
"-a" option for cp(1) is not portable, use standard combination "-RpP" instead.
PR pkg/49475 by Sevan Janiyan.

diffstat:

 devel/commit-patch/distinfo               |   4 ++--
 devel/commit-patch/patches/patch-Makefile |  16 ++++++++++------
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (41 lines):

diff -r c6ca40eda8cb -r 3f9472a248cb devel/commit-patch/distinfo
--- a/devel/commit-patch/distinfo       Wed Dec 17 01:40:51 2014 +0000
+++ b/devel/commit-patch/distinfo       Wed Dec 17 06:08:13 2014 +0000
@@ -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 -r c6ca40eda8cb -r 3f9472a248cb devel/commit-patch/patches/patch-Makefile
--- a/devel/commit-patch/patches/patch-Makefile Wed Dec 17 01:40:51 2014 +0000
+++ b/devel/commit-patch/patches/patch-Makefile Wed Dec 17 06:08:13 2014 +0000
@@ -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 @@
 +      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"



Home | Main Index | Thread Index | Old Index