Package: lynx-cur
Version: 2.8.7dev10-2.1
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch jaunty

In Ubuntu, we try to keep the size of our "main" component under
control, and packages in main are only allowed to build-depend or depend
on other packages in main; this lets us use main as a set of packages on
which we offer better-quality support and so on. As a result I found
myself looking at the long build-dependency list of lynx-cur;
specifically, we don't yet have ncompress in main and I was wondering if
we really needed it. Apparently you added this along with a number of
other dependencies in version 2.8.7dev7-2 so that configure would detect
paths correctly.

It seems that a build-dependency isn't actually necessary for this; you
can get configure to detect the path you want by means of an environment
variable. I've attached the patch I applied in Ubuntu to remove the need
for the build-dependency on ncompress, but perhaps you'd like to extend
this to other build-dependencies that aren't truly needed at build time?

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
diff -u lynx-cur-2.8.7dev10/debian/rules lynx-cur-2.8.7dev10/debian/rules
--- lynx-cur-2.8.7dev10/debian/rules
+++ lynx-cur-2.8.7dev10/debian/rules
@@ -33,6 +33,7 @@
 configure-stamp: patch-stamp
 	dh_testdir
 	# Add here commands to configure the package.
+	COMPRESS=/usr/bin/compress \
 	./configure --prefix=/usr --libexecdir=/usr/lib \
 	--sysconfdir=/etc/lynx-cur --localstatedir=/var \
 	--libdir=/etc/lynx-cur --enable-8bit-toupper --enable-externs \
diff -u lynx-cur-2.8.7dev10/debian/control lynx-cur-2.8.7dev10/debian/control
--- lynx-cur-2.8.7dev10/debian/control
+++ lynx-cur-2.8.7dev10/debian/control
@@ -2,7 +2,7 @@
 Section: web
 Priority: extra
 Maintainer: Atsuhito KOHDA <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.16), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, zip, unzip, sharutils, bzip2, ncompress, telnet, openssh-client, exim4-daemon-light | mail-transport-agent
+Build-Depends: debhelper (>= 4.1.16), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, zip, unzip, sharutils, bzip2, telnet, openssh-client, exim4-daemon-light | mail-transport-agent
 Standards-Version: 3.7.2
 
 Package: lynx-cur

Reply via email to