Bug 39317 - uulib port fails to build due to sed(1) regex
Summary: uulib port fails to build due to sed(1) regex
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: hoek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 01:20 UTC by Chris Wasser
Modified: 2002-09-05 03:17 UTC (History)
0 users

See Also:


Attachments
file.diff (642 bytes, patch)
2002-06-15 01:20 UTC, Chris Wasser
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.