pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox Instead of non-portable cp -RL, use pax wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/143d111ea543
branches:  trunk
changeset: 482085:143d111ea543
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Oct 19 21:01:47 2004 +0000

description:
Instead of non-portable cp -RL, use pax with -Lrw
to copy the extensions files.

On Solaris, cp doesn't know -L. (Reported by R. Quinn.)
Using pax was suggested by grant@.

diffstat:

 www/firefox/Makefile-firefox.common |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 5a7117af0844 -r 143d111ea543 www/firefox/Makefile-firefox.common
--- a/www/firefox/Makefile-firefox.common       Tue Oct 19 20:36:10 2004 +0000
+++ b/www/firefox/Makefile-firefox.common       Tue Oct 19 21:01:47 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-firefox.common,v 1.5 2004/10/16 20:08:48 reed Exp $
+# $NetBSD: Makefile-firefox.common,v 1.6 2004/10/19 21:01:47 reed Exp $
 
 MOZILLA_BIN=   firefox-bin
 MOZ_VER=       0.10.1
@@ -30,8 +30,8 @@
 MESSAGE=               ${.CURDIR}/../../www/firefox/MESSAGE
 
 pre-install:
-       ${CP} -RL ${WRKSRC}/dist/bin/defaults/profile/extensions \
-                                                       ${WRKSRC}/dist/bin
+       cd ${WRKSRC}/dist/bin/defaults/profile/ && \
+               ${PAX} -Lrw extensions ${WRKSRC}/dist/bin
        ${MV} ${WRKSRC}/dist/bin/extensions/installed-extensions.txt \
                ${WRKSRC}/dist/bin/extensions/installed-extensions-processed.txt
 



Home | Main Index | Thread Index | Old Index