Opened 15 years ago

Closed 14 years ago

#21589 closed defect (fixed)

mutt-devel +compress: configure ignores --enable-compressed

Reported by: netj@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: haspatch Cc:
Port: mutt-devel

Description

The +compress variant fails to build due to unsuccessful configure step. It's actually an upstream problem: the 1.5.20.rr.compressed patch doesn't consistently modify mutt-devel's configure file. It seems mutt-devel used a newer version of autoconf for recent releases than what the patch author uses. (configure.ac file is fine: --enable-compressed is recognized if I configure it after an autoreconf.)

I've created a patch for mutt-devel-1.5.20/configure, so that it recognizes --enable-compressed.

I'll also report this problem to the patch's maintainer. So this won't be needed for future versions. But till then, we'd better keep this patch in our port.

Attachments (2)

patch-compress-1.5.20.diff (892 bytes) - added by netj@… 15 years ago.
Patch for configure to make it recognize --enable-compressed
mutt-devel+compress.svn.patch (1.6 KB) - added by netj@… 15 years ago.
A patch by svn diff on my working copy under /trunk/dports/mail/mutt-devel

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by netj@…

Please place the attached patch under files/ and modify Portfile as below:

--- Portfile.orig       2009-09-24 19:14:22.000000000 +0900
+++ Portfile    2009-09-24 19:39:58.000000000 +0900
@@ -79,6 +79,7 @@
     patchfiles-append       patch-1.5.20.rr.compressed.gz
     checksums-append        patch-1.5.20.rr.compressed.gz md5 \
                                 5e608027bda1fddc2bc38c03a560f0a9
+    patchfiles-append       patch-compress-1.5.20.diff
 }

 variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} {

comment:2 Changed 15 years ago by netj@…

I realized attaching the svn diff would make things much easier. :-)

Please commit this after review.

Changed 15 years ago by netj@…

Attachment: patch-compress-1.5.20.diff added

Patch for configure to make it recognize --enable-compressed

Changed 15 years ago by netj@…

A patch by svn diff on my working copy under /trunk/dports/mail/mutt-devel

comment:3 Changed 15 years ago by netj@…

I forgot I had to also modify some lines in Makefile.in. Replaced with new patch that builds correctly.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Cc: simon removed
Keywords: mutt-devel removed
Owner: changed from macports-tickets@… to simon@…

comment:5 Changed 14 years ago by simon@…

Owner: changed from simon@… to macports-tickets@…

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Keywords: haspatch added; compressed folder variant removed
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.