Subject: pkg/18731: correct pax usage in x11/tk/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/19/2002 16:39:05
>Number:         18731
>Category:       pkg
>Synopsis:       correct pax usage in x11/tk/Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 13:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002/10/18
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD

>Description:

	another place where pax isn't used quite correctly

	the more I think about this the more I remember it being a real
	bug, but I'm too busy sending some of my local changes to
	de-install and rebuild tcl/tk to test for sure!  ;-)

>How-To-Repeat:

>Fix:

Index: x11/tk/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/x11/tk/Makefile,v
retrieving revision 1.19
diff -c -r1.19 Makefile
*** x11/tk/Makefile	25 Aug 2002 18:40:48 -0000	1.19
--- x11/tk/Makefile	13 Sep 2002 19:34:29 -0000
***************
*** 49,55 ****
  
  post-install:
  	${CHMOD} -R ugo-w ${WRKDIR}/man
! 	cd ${WRKDIR}; ${PAX} -rw man ${PREFIX}
  	${CHMOD} -R ug+rw ${WRKDIR}/man
  	${RM} -f ${PREFIX}/bin/wish
  	cd ${PREFIX}/bin && ${LN} -s wish8.3 wish
--- 49,55 ----
  
  post-install:
  	${CHMOD} -R ugo-w ${WRKDIR}/man
! 	cd ${WRKDIR}/man; ${PAX} -rw . ${PREFIX}/man/
  	${CHMOD} -R ug+rw ${WRKDIR}/man
  	${RM} -f ${PREFIX}/bin/wish
  	cd ${PREFIX}/bin && ${LN} -s wish8.3 wish
>Release-Note:
>Audit-Trail:
>Unformatted: