Ralf (or others),

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Ralf S. 
>Engelschall
>Sent: Wednesday, 20 February 2008 4:35 PM
>To: openpkg-users@openpkg.org
>Subject: Re: Squid large file support
>
>Sure, now applied -- I just used "with_largefile" (no second 
>underscore)
>for the name. Thanks.

Another similar one for findutils - currently it explicitly disables
large files, this patch makes it an option to re-enable.

Wasn't sure on best way to do the '%if', but this seems to work
(apologies for any line wraps that creep in):

diff -u findutils.spec.orig findutils.spec
--- findutils.spec.orig 2008-02-21 08:46:38.002651000 +1000
+++ findutils.spec      2008-02-21 08:49:27.476345000 +1000
@@ -34,6 +34,8 @@
 Version:      4.2.33
 Release:      20080214
 
+%option       with_largefiles no
+
 #   list of sources
 Source0:
ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
 Source1:      rc.findutils
@@ -72,7 +74,11 @@
         --libexecdir=%{l_prefix}/libexec/findutils \
         --datarootdir=%{l_prefix} \
         --localstatedir=%{l_prefix}/var/findutils \
+%if "%{with_largefiles}" == "yes"
+       \
+%else
         --disable-largefile \
+%endif
         --disable-nls
     %{l_make} %{l_mflags}
 
Thanks,
  Jason

************************************************************************
The information in this email together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this email message is prohibited, unless
as a necessary part of Departmental business.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
************************************************************************

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to