svn commit: r332019 - head/converters/wkhtmltopdf

Martin Matuska mm at FreeBSD.org
Tue Oct 29 22:32:36 UTC 2013


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


More information about the svn-ports-all mailing list