diff options
-rw-r--r-- | x11-toolkits/wxgtk28/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/wxgtk29/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-toolkits/wxgtk28/Makefile b/x11-toolkits/wxgtk28/Makefile index 7afad0d825eb..2ae1b6827a60 100644 --- a/x11-toolkits/wxgtk28/Makefile +++ b/x11-toolkits/wxgtk28/Makefile @@ -94,4 +94,10 @@ post-patch: s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${WXGTK_FLAVOR} == "gtk2-unicode" && ${OSVERSION} < 500000 +IGNORE= requires wchar_t +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/wxgtk29/Makefile b/x11-toolkits/wxgtk29/Makefile index 7afad0d825eb..2ae1b6827a60 100644 --- a/x11-toolkits/wxgtk29/Makefile +++ b/x11-toolkits/wxgtk29/Makefile @@ -94,4 +94,10 @@ post-patch: s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${WXGTK_FLAVOR} == "gtk2-unicode" && ${OSVERSION} < 500000 +IGNORE= requires wchar_t +.endif + +.include <bsd.port.post.mk> |