From owner-svn-ports-head@freebsd.org Mon Jan 8 08:52:49 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3FBDE5C0E1; Mon, 8 Jan 2018 08:52:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 802187112D; Mon, 8 Jan 2018 08:52:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D2C362D7B0; Mon, 8 Jan 2018 08:52:48 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w088qmkt060180; Mon, 8 Jan 2018 08:52:48 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w088qmee060179; Mon, 8 Jan 2018 08:52:48 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201801080852.w088qmee060179@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 8 Jan 2018 08:52:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458398 - head/www/links X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/www/links X-SVN-Commit-Revision: 458398 X-SVN-Commit-Repository: ports 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.25 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: Mon, 08 Jan 2018 08:52:49 -0000 Author: tobik Date: Mon Jan 8 08:52:48 2018 New Revision: 458398 URL: https://svnweb.freebsd.org/changeset/ports/458398 Log: www/links: Make SVG support optional Reduce links' dependency footprint and prevent pulling in many unnecessary dependencies like cairo -> mesa-libs -> llvm50. PR: 224950 Reported by: vvd@unislabs.com Approved by: portmaster@BSDforge.com (maintainer) Modified: head/www/links/Makefile Modified: head/www/links/Makefile ============================================================================== --- head/www/links/Makefile Mon Jan 8 08:14:20 2018 (r458397) +++ head/www/links/Makefile Mon Jan 8 08:52:48 2018 (r458398) @@ -3,6 +3,7 @@ PORTNAME= links DISTVERSION= 2.14 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= http://links.twibright.com/download/ @@ -20,13 +21,13 @@ CONFIGURE_ARGS= --with-ssl --without-pmshell --without --without-gpm --without-fb --without-windows USES= cpe localbase:ldflags ssl gettext-runtime -USE_GNOME= librsvg2 glib20 gdkpixbuf2 cairo CPE_VENDOR= twibright PLIST_FILES= bin/links man/man1/links.1.gz -OPTIONS_DEFINE= CIPHERSTRING DIRECTFB IPV6 NLS SVGALIB THREADS TRANS UTF8 X11 +OPTIONS_DEFINE= CIPHERSTRING DIRECTFB IPV6 NLS SVG SVGALIB THREADS TRANS \ + UTF8 X11 OPTIONS_DEFAULT= UTF8 X11 CIPHERSTRING_DESC= Select the OpenSSL ciphers used via CIPHERSTRING @@ -41,6 +42,9 @@ IPV6_CONFIGURE_WITH= ipv6 NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= gettext-runtime +SVG_CONFIGURE_WITH= librsvg +SVG_USE= gnome=librsvg2,glib20,gdkpixbuf2,cairo + SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib @@ -68,6 +72,9 @@ LIB_DEPENDS+= libpng.so:graphics/png \ USES+= jpeg CONFIGURE_ARGS+= --enable-graphics .else +.if ${PORT_OPTIONS:MSVG} +IGNORE= option SVG requires one of DIRECTFB, SVGALIB, or X11 +.endif CONFIGURE_ARGS+= --disable-graphics --without-libjpeg --without-libtiff .endif