pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pari requiring fltk???? (proposing to stop)



math/pari requires fltk by default, via the x11 option.

pari is required by p5-Math-Pari, which is required by
  p5-Crypt-Random-1.25nb3
  p5-Crypt-Primes-0.50nb5
  p5-Crypt-RSA-1.99nb2
  p5-Module-Signature-0.68
which is required by
  p5-PAR-Dist-0.47nb2
which is required by
  p5-Module-Install-1.06
which seems to be needed quite often.

So while each step might be ok, the notion that fltk is required to
install perl modules is ridiculous.  (It's further semi-ridiculous that
it needs tex to build, but at least that's build only.)  So I propose to
apply the following.  (I ran into this trying to build wip/fldigi which
uses fltk13.)  Objections?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/pari/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile    3 Oct 2012 21:56:40 -0000       1.53
+++ Makefile    4 Nov 2012 23:38:44 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.53 2012/10/03 21:56:40 wiz Exp $
 
 DISTNAME=      pari-2.3.5
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    math
 MASTER_SITES=  http://pari.math.u-bordeaux.fr/pub/pari/unix/
 
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/math/pari/options.mk,v
retrieving revision 1.6
diff -u -p -r1.6 options.mk
--- options.mk  18 Mar 2011 15:00:01 -0000      1.6
+++ options.mk  4 Nov 2012 23:38:44 -0000
@@ -2,7 +2,9 @@
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pari
 PKG_SUPPORTED_OPTIONS= doc gmp x11
-PKG_SUGGESTED_OPTIONS= doc gmp x11
+# x11 is not suggested because it's not reasonable to include a GUI in
+# a foundation library.
+PKG_SUGGESTED_OPTIONS= doc gmp
 
 .include "../../mk/bsd.options.mk"
 

Attachment: pgpiA_UdOJbLa.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index