diff options
author | mm <mm@FreeBSD.org> | 2013-10-30 06:32:35 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2013-10-30 06:32:35 +0800 |
commit | 5575c57081b7cc7fd734ccc8968896cf15de307f (patch) | |
tree | 8f1ca85a4ea81f38d920126f56b1b2fd46d6481c /converters | |
parent | 01ce1d16acd543a90d334d6ef826160cb8fac75c (diff) | |
download | freebsd-ports-gnome-5575c57081b7cc7fd734ccc8968896cf15de307f.tar.gz freebsd-ports-gnome-5575c57081b7cc7fd734ccc8968896cf15de307f.tar.zst freebsd-ports-gnome-5575c57081b7cc7fd734ccc8968896cf15de307f.zip |
Do not depend on gcc on FreeBSD 9 and lower
Diffstat (limited to 'converters')
-rw-r--r-- | converters/wkhtmltopdf/Makefile | 5 |
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 |