aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-07-12 01:57:57 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-07-12 01:57:57 +0000
commit92e22122e819280ea0c18de3ddd7a8b8a25a3ead (patch)
tree8ec4f270012859c295f1f26a9f1f67e45039dbda /multimedia
parentc6af2b4296e16b30986b47c1129527e969af06e2 (diff)
downloadports-92e22122e819280ea0c18de3ddd7a8b8a25a3ead.tar.gz
ports-92e22122e819280ea0c18de3ddd7a8b8a25a3ead.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kissdx/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/kissdx/Makefile b/multimedia/kissdx/Makefile
index 7c8e5ca51833..03ece6a45469 100644
--- a/multimedia/kissdx/Makefile
+++ b/multimedia/kissdx/Makefile
@@ -43,7 +43,9 @@ post-patch:
s|^\.o :|${PORTNAME}: $$(OBJS)| ; \
/^all:/s| $$(OBJS)||' ${WRKSRC}/Makefile
-.if exists(/usr/lib/libstdc++.so)
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
CFLAGS+= -fnested-functions
.endif
@@ -60,4 +62,4 @@ do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>