diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kissdx/Makefile | 6 |
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> |