Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 09:42:01 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        bug-followup@FreeBSD.org
Cc:        tcltk@FreeBSD.org
Subject:   Re: ports/181763: x11-toolkits/tk85 missing dependency on x11/libXScrnSaver
Message-ID:  <20130903074201.GD56285@gahrfit.gahr.ch>
In-Reply-To: <201309021930.r82JUA08017738@freefall.freebsd.org>
References:  <201309021930.r82JUA08017738@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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