Bug 40195

Summary: /usr/ports/audio/liba52 does not compile (erroneus flag to sed)
Product: Base System Reporter: Miika Komu <miika>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.6-STABLE   
Hardware: Any   
OS: Any   

Description Miika Komu 2002-07-04 19:50:01 UTC
audio/liba52 does not compile in ports. This prevents compiling of
avifile, at least. There is some kind of typo in freebsd compiling
or patching scripts (see how-to-repeat).

How-To-Repeat: # (update to latest ports)
# cd /usr/ports/audio/liba52
# make install
===>  Patching for liba52-0.7.3_2
sed: illegal option -- i
usage: sed script [-Ean] [file ...]
       sed [-an] [-e script] ... [-f script_file] ... [file ...]
*** Error code 1

Stop in /usr/ports/audio/liba52.
Comment 1 Maxim Maximov 2002-07-18 17:59:15 UTC
Looks like you build this port when USE_REINPLACE was broken for a short 
period of time.

This behavior of bsd.port.mk was fixed in rev. 1.419: 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk

-- 
Maxim Maximov
System Administrator
AGAVA Software (http://www.agava.com)
Comment 2 Jens Schweikhardt freebsd_committer freebsd_triage 2002-08-06 21:57:13 UTC
State Changed
From-To: open->closed

You can also update your sed sources, then: 
cd /usr/src/usr.bin/sed; make; make install 
Then try building the port again.