From owner-freebsd-tcltk@FreeBSD.ORG Tue Sep 3 07:42:16 2013 Return-Path: Delivered-To: tcltk@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 125AE802; Tue, 3 Sep 2013 07:42:16 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel09.rubas.ch (cpanel09.rubas.ch [195.182.222.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFF492DB3; Tue, 3 Sep 2013 07:42:15 +0000 (UTC) Received: from 98-41.199-178.cust.bluewin.ch ([178.199.41.98]:56138 helo=gahrfit.gahr.ch) by cpanel09.rubas.ch with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VGlFW-001WoP-54; Tue, 03 Sep 2013 09:42:07 +0200 Date: Tue, 3 Sep 2013 09:42:01 +0200 From: Pietro Cerutti To: bug-followup@FreeBSD.org Subject: Re: ports/181763: x11-toolkits/tk85 missing dependency on x11/libXScrnSaver Message-ID: <20130903074201.GD56285@gahrfit.gahr.ch> References: <201309021930.r82JUA08017738@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iVCmgExH7+hIHJ1A" Content-Disposition: inline In-Reply-To: <201309021930.r82JUA08017738@freefall.freebsd.org> X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel09.rubas.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Get-Message-Sender-Via: cpanel09.rubas.ch: authenticated_id: gahr@gahr.ch Cc: tcltk@FreeBSD.org X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 07:42:16 -0000 --iVCmgExH7+hIHJ1A Content-Type: multipart/mixed; boundary="jy6Sn24JjFx/iggw" Content-Disposition: inline --jy6Sn24JjFx/iggw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm not sure I want to force the dependency on libXScrnSaver. What do you think of an OPTION? This patch is against tk86. --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --jy6Sn24JjFx/iggw Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="tk86-xscrnsaver.diff" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 321364) +++ Makefile (working copy) @@ -16,10 +16,11 @@ LICENSE=3D BSD LICENSE_FILE=3D ${WRKSRC}/../license.terms =20 -OPTIONS_DEFINE=3D TKMAN DEMOS XFT THREADS +OPTIONS_DEFINE=3D TKMAN DEMOS XFT XSS THREADS OPTIONS_DEFAULT=3DXFT THREADS TKMAN_DESC=3D Install Tk function manpages DEMOS_DESC=3D Install demos +XSS_DESC=3D XScrnSaver support =20 WRKSRC=3D ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix =20 @@ -66,6 +67,13 @@ PLIST_SUB+=3D DEMOS=3D"@comment " .endif =20 +.if ${PORT_OPTIONS:MXSS} +USE_XORG+=3D xscrnsaver +CONFIGURE_ARGS+=3D--enable-xss +.else +CONFIGURE_ARGS+=3D--disable-xss +.endif + .if ${PORT_OPTIONS:MTKMAN} && !defined(NO_INSTALL_MANPAGES) INSTALL_TARGET+=3Dinstall-doc .include "${.CURDIR}/Makefile.man" --jy6Sn24JjFx/iggw-- --iVCmgExH7+hIHJ1A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlIlksgACgkQwMJqmJVx947FGwCfWysbi85GZoRevnOqY1uNF3iX G3cAn3YqYYJwEG0nkrpUwCjBldusBtvw =nktS -----END PGP SIGNATURE----- --iVCmgExH7+hIHJ1A--