Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103384

Summary: app-text/docbook-xsl-stylesheets uses GNU-ish cp -a
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bsd+disabled, osx
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 103124    
Attachments: docbook-xsl-stylesheet-ebuild.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-22 15:29:52 UTC
As per summary, cp -a won't work on BSD and Darwin userlands. 
 
The attached patch uses cp -pR instead and allows it to be installed fine. 
 
Thanks, 
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-22 15:30:07 UTC
Created attachment 66588 [details, diff]
docbook-xsl-stylesheet-ebuild.patch
Comment 2 Fabian Groffen gentoo-dev 2005-08-22 22:31:33 UTC
Maybe -pPR is a better alternative to -a on BSD/Darwin?

(prevents from following symlinks)
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-23 00:35:06 UTC
"The less, the best" usually, I haven't found symlinks there, and I don't 
think there will be in such a package. 
But yeah if you want to be completely safe, -pPR is the full replacement of 
-a. 
 
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-23 14:29:20 UTC

*** This bug has been marked as a duplicate of 103487 ***