Bug 190501

Summary: [maintainer] fix lang/ypsilon on HEAD
Product: Ports & Packages Reporter: Vitaly Magerya <vmagerya>
Component: Individual Port(s)Assignee: Carlo Strub <cs>
Status: Closed FIXED    
Severity: Affects Only Me CC: cs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vitaly Magerya 2014-06-02 11:53:37 UTC
The C compiler in HEAD now exits when unknown options are passed, which breaks lang/ypsilon. Use this patch to resolve this problem.

Redports logs are at [1].

[1] https://redports.org/buildarchive/20140602114601-39225/

Fix:
Patch attached with submission follows:

diff -ruN ypsilon.orig/Makefile ypsilon/Makefile
--- ypsilon.orig/Makefile	2014-06-02 14:44:47.000000000 +0300
+++ ypsilon/Makefile	2014-06-02 14:43:07.000000000 +0300
@@ -20,6 +20,9 @@
 
 OPTIONS_DEFINE=	EXAMPLES
 
+post-patch:
+	${REINPLACE_CMD} 's/-fno-[a-z-]*//g' ${WRKSRC}/Makefile
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-06-10 21:48:50 UTC
A commit references this bug:

Author: cs
Date: Tue Jun 10 21:48:34 UTC 2014
New revision: 357387
URL: http://svnweb.freebsd.org/changeset/ports/357387

Log:
  Unbreak in HEAD

  PR:		190501
  Submitted by:	vmagerya@gmail.com (maintainer)

Changes:
  head/lang/ypsilon/Makefile