Bug 39317

Summary: uulib port fails to build due to sed(1) regex
Product: Ports & Packages Reporter: Chris Wasser <cwasser>
Component: Individual Port(s)Assignee: hoek
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Chris Wasser 2002-06-15 01:20:01 UTC
The uulib 0.5.13 port in /usr/ports/convertors/uulib fails to build if the user has specified compiler debugging that contains a debugging level such as -g3 due to how a sed(1) regex in configure and configure.in strip the debugging flag from /etc/make.conf CFLAGS variable.

Fix: This may not be the correct way or even portable but it works for me:

http://members.shaw.ca/cwasser/uulib-0.5.13_patch:
How-To-Repeat: Specify -g# (such as 1,2,3..etc) in /etc/make.conf CFLAGS variable and try to build the port.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-06-16 19:26:07 UTC
Responsible Changed
From-To: freebsd-ports->hoek

over to maintainer
Comment 2 hoek freebsd_committer freebsd_triage 2002-09-05 03:16:18 UTC
State Changed
From-To: open->closed

Modified patch applied.  Instead of making the sed expression 
do what the author wanted, I simply disabled it so that the 
port no longer changes ${CFLAGS} at all.  This is in accordance 
with ports general policy. 

Thanks.