Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 22:32:36 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332019 - head/converters/wkhtmltopdf
Message-ID:  <201310292232.r9TMWaMN066782@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Tue Oct 29 22:32:35 2013
New Revision: 332019
URL: http://svnweb.freebsd.org/changeset/ports/332019

Log:
  Do not depend on gcc on FreeBSD 9 and lower

Modified:
  head/converters/wkhtmltopdf/Makefile

Modified: head/converters/wkhtmltopdf/Makefile
==============================================================================
--- head/converters/wkhtmltopdf/Makefile	Tue Oct 29 22:18:48 2013	(r332018)
+++ head/converters/wkhtmltopdf/Makefile	Tue Oct 29 22:32:35 2013	(r332019)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310292232.r9TMWaMN066782>