From owner-svn-ports-head@freebsd.org Wed Feb 6 00:44:29 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1764214D654C; Wed, 6 Feb 2019 00:44:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1456722DB; Wed, 6 Feb 2019 00:44:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A27F725B8C; Wed, 6 Feb 2019 00:44:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x160iSp4058746; Wed, 6 Feb 2019 00:44:28 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x160iS8a058745; Wed, 6 Feb 2019 00:44:28 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201902060044.x160iS8a058745@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 6 Feb 2019 00:44:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492284 - head/audio/funktrackergold X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/audio/funktrackergold X-SVN-Commit-Revision: 492284 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B1456722DB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 00:44:29 -0000 Author: linimon Date: Wed Feb 6 00:44:28 2019 New Revision: 492284 URL: https://svnweb.freebsd.org/changeset/ports/492284 Log: If compiling with base GCC, -fnested-functions needs to be passed. PR: 235541 Submitted by: Piotr Kubaj Modified: head/audio/funktrackergold/Makefile Modified: head/audio/funktrackergold/Makefile ============================================================================== --- head/audio/funktrackergold/Makefile Wed Feb 6 00:39:32 2019 (r492283) +++ head/audio/funktrackergold/Makefile Wed Feb 6 00:44:28 2019 (r492284) @@ -15,9 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to compile: function definition is not allowed here BROKEN_armv7= fails to compile: function definition is not allowed here -BROKEN_mips= fails to compile: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_mips64= fails to compile: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_powerpc64= fails to compile: nested functions are disabled, use -fnested-functions to re-enable USES= compiler:nestedfct ncurses tar:tgz @@ -29,6 +26,12 @@ PLIST_FILES= bin/funkgold OPTIONS_DEFINE= DOCS +.include + +.if ${COMPILER_TYPE:Mgcc} +CFLAGS+= -fnested-functions +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin @@ -38,4 +41,4 @@ do-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor -.include +.include