ports/181763: x11-toolkits/tk85 missing dependency on x11/libXScrnSaver
Pietro Cerutti
gahr at FreeBSD.org
Tue Sep 3 07:50:01 UTC 2013
The following reply was made to PR ports/181763; it has been noted by GNATS.
From: Pietro Cerutti <gahr at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc: tcltk at FreeBSD.org
Subject: Re: ports/181763: x11-toolkits/tk85 missing dependency on
x11/libXScrnSaver
Date: Tue, 3 Sep 2013 09:42:01 +0200
--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 at 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--
More information about the freebsd-tcltk
mailing list