Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 11:54:55 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488370 - head/deskutils/growl-for-linux
Message-ID:  <201812261154.wBQBst9C077642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Dec 26 11:54:55 2018
New Revision: 488370
URL: https://svnweb.freebsd.org/changeset/ports/488370

Log:
  This port requires adding -fnested-functions to CFLAGS when base GCC is used.
  
  While here, add USES=gnome.
  
  PR:		234302
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/deskutils/growl-for-linux/Makefile

Modified: head/deskutils/growl-for-linux/Makefile
==============================================================================
--- head/deskutils/growl-for-linux/Makefile	Wed Dec 26 11:49:05 2018	(r488369)
+++ head/deskutils/growl-for-linux/Makefile	Wed Dec 26 11:54:55 2018	(r488370)
@@ -34,11 +34,17 @@ OPTIONS_DEFINE=	LIBNOTIFY
 
 PLIST_SUB=	DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
 
-USES=		autoreconf compiler:nestedfct libtool pkgconfig sqlite:3 ssl
+USES=		autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \
+		ssl
 USE_GITHUB=	yes
 USE_GNOME=	cairo gdkpixbuf2 gtk20 libxml2
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}/display \
 		${PREFIX}/lib/${PORTNAME}/subscribe
+
+.if exists(/usr/lib/libstdc++.so)
+CFLAGS+=	-fnested-functions
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \
 		${WRKSRC}/Makefile.am



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812261154.wBQBst9C077642>