From owner-svn-ports-head@FreeBSD.ORG Tue Oct 29 22:32:36 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5853BFC0; Tue, 29 Oct 2013 22:32:36 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 44FF52D68; Tue, 29 Oct 2013 22:32:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9TMWakH066783; Tue, 29 Oct 2013 22:32:36 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9TMWaMN066782; Tue, 29 Oct 2013 22:32:36 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201310292232.r9TMWaMN066782@svn.freebsd.org> From: Martin Matuska Date: Tue, 29 Oct 2013 22:32:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332019 - head/converters/wkhtmltopdf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 22:32:36 -0000 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 +.if ${OSVERSION} > 1000000 +USE_GCC= yes +.endif + .if ${OSVERSION} < 800000 BROKEN= fails to extract on FreeBSD 7.X .endif