From 470e79364037a70f492e7fc9d10600d2ab7d2d6a Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 29 Oct 2013 22:32:35 +0000 Subject: Do not depend on gcc on FreeBSD 9 and lower --- converters/wkhtmltopdf/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'converters') diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile index 4d757f02551b..4f3575713e73 100644 --- a/converters/wkhtmltopdf/Makefile +++ b/converters/wkhtmltopdf/Makefile @@ -25,7 +25,6 @@ USE_XORG= x11 xext xrender USE_PERL5= build USE_LDCONFIG= yes HAS_CONFIGURE= yes -USE_GCC= yes OPTIONS_DEFINE= BUNDLED_LIBS BUNDLED_LIBS_DESC= Use Qt-bundled jpeg, mng, png and tiff @@ -53,6 +52,10 @@ MAKE_ARGS+= INSTALL_ROOT="${PREFIX}" NO_STAGE= yes .include +.if ${OSVERSION} > 1000000 +USE_GCC= yes +.endif + .if ${OSVERSION} < 800000 BROKEN= fails to extract on FreeBSD 7.X .endif -- cgit v1.2.3