aboutsummaryrefslogtreecommitdiff
path: root/deskutils/growl-for-linux
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-12-26 11:54:55 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-12-26 11:54:55 +0000
commit401f96f227521c4527ea9c3887b10fb4bd7ff24b (patch)
tree0969db380cdf6f8959ade54cf901cdfa3aabe883 /deskutils/growl-for-linux
parent968d71975a8f7ec75b19b06c59e5203ba5ac0443 (diff)
downloadports-401f96f227521c4527ea9c3887b10fb4bd7ff24b.tar.gz
ports-401f96f227521c4527ea9c3887b10fb4bd7ff24b.zip
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)
Notes
Notes: svn path=/head/; revision=488370
Diffstat (limited to 'deskutils/growl-for-linux')
-rw-r--r--deskutils/growl-for-linux/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile
index 1f50ea627752..4b44c20bb0c0 100644
--- a/deskutils/growl-for-linux/Makefile
+++ b/deskutils/growl-for-linux/Makefile
@@ -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