svn commit: r488370 - head/deskutils/growl-for-linux

Mark Linimon linimon at FreeBSD.org
Wed Dec 26 11:54:56 UTC 2018


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


More information about the svn-ports-all mailing list