aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2013-10-29 22:32:35 +0000
committerMartin Matuska <mm@FreeBSD.org>2013-10-29 22:32:35 +0000
commit470e79364037a70f492e7fc9d10600d2ab7d2d6a (patch)
tree8f1ca85a4ea81f38d920126f56b1b2fd46d6481c /converters
parent00e4f15bc5e6f344a9c6acd32df9f225c810ec6f (diff)
downloadports-470e79364037a70f492e7fc9d10600d2ab7d2d6a.tar.gz
ports-470e79364037a70f492e7fc9d10600d2ab7d2d6a.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/wkhtmltopdf/Makefile5
1 files changed, 4 insertions, 1 deletions
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 <bsd.port.pre.mk>
+.if ${OSVERSION} > 1000000
+USE_GCC= yes
+.endif
+
.if ${OSVERSION} < 800000
BROKEN= fails to extract on FreeBSD 7.X
.endif