summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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