Bug 190501 - [maintainer] fix lang/ypsilon on HEAD
Summary: [maintainer] fix lang/ypsilon on HEAD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 11:53 UTC by Vitaly Magerya
Modified: 2014-06-10 21:48 UTC (History)
1 user (show)

See Also:


Attachments

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