Subject: pkg/19346: [wm/sawfish-themes] installation fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Ryo HAYASAKA <ryoh@jaist.acjp>
List: netbsd-bugs
Date: 12/11/2002 16:25:24
>Number:         19346
>Category:       pkg
>Synopsis:       [wm/sawfish-themes] installation fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 10 23:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.6K
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 1.6K NetBSD 1.6K (BONNIE) #349: Tue Dec 10 15:06:24 JST 2002 ryoh@bonnie.jaist.ac.jp:/home/ryoh/util/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
It is needed to quote -s arguments of pax.

$ make install
...
===> do-su-install [sawfish-themes-0.1] ===> Becoming root@bonnie.jaist.ac.jp to install sawfish-themes-0.1.
/usr/pkg/bin/sudo install -d -o root -g wheel -m 555 /usr/pkg/share/sawfish/themes
cd /usr/pkgsrc/wm/sawfish-themes/work.i386 && /bin/pax -s /^.\/[.].*//          -s /^.\/PLIST// -rw . /usr/pkg/share/sawfish/themes
pax: Invalid replacement string option /^./[.].*//
	
>How-To-Repeat:
make install
	
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/wm/sawfish-themes/Makefile,v
retrieving revision 1.1.1.1
diff -d -p -u -r1.1.1.1 Makefile
--- Makefile    7 Oct 2002 17:00:43 -0000       1.1.1.1
+++ Makefile    11 Dec 2002 07:07:42 -0000
@@ -59,8 +59,8 @@ pre-install:
 
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/${THEMES_DIR}
-       cd ${WRKDIR} && ${PAX} -s /^.\/[.].*//                          \
-               -s /^.\/PLIST// -rw . ${PREFIX}/${THEMES_DIR}
+       cd ${WRKDIR} && ${PAX} -s ,^./[.].*,,                           \
+               -s ,^./PLIST,, -rw . ${PREFIX}/${THEMES_DIR}
 
 .include "files/themes.sawfish"
 .include "../../mk/bsd.pkg.mk"
	
>Release-Note:
>Audit-Trail:
>Unformatted: