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

Bug 342933

Summary: net-misc/openvpn-2.1.3 Qa issues
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal CC: azamat.hackimov, cedk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2010-10-27 13:19:33 UTC
$summary

On line 91, in src_install () is call make instead of emake.

On line 74, in src_compile () sed needs die.

Reproducible: Always
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-10-28 07:27:34 UTC
Thanks for paying attention! I tried to add these, but it seems the sed program always dies when run from the ebuild, while it seems to work (from the same dir) when run in the shell. Not sure why that might be.
Comment 2 Azamat H. Hackimov 2010-10-28 09:59:13 UTC
(In reply to comment #1)
> Thanks for paying attention! I tried to add these, but it seems the sed program
> always dies when run from the ebuild, while it seems to work (from the same
> dir) when run in the shell. Not sure why that might be.
> 
String
 use static && sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile 
should be rewriten to 
 if use static ; then
   sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile || die
 fi
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-10-28 10:43:45 UTC
Fixed.