diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-12-26 11:54:55 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-12-26 11:54:55 +0000 |
commit | 401f96f227521c4527ea9c3887b10fb4bd7ff24b (patch) | |
tree | 0969db380cdf6f8959ade54cf901cdfa3aabe883 | |
parent | This port requires USES=compiler:c++11-lang to build on GCC-based (diff) |
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
-rw-r--r-- | deskutils/growl-for-linux/Makefile | 8 |
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 |