pkgsrc-Bugs archive

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

Re: pkg/47083: mail/mutt-devel: missing PLIST entry for compressed mbox patch



The following reply was made to PR pkg/47083; it has been noted by GNATS.

From: Moritz Wilhelmy <moritz%wzff.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47083: mail/mutt-devel: missing PLIST entry for compressed
 mbox patch
Date: Tue, 16 Oct 2012 11:41:05 +0200

 On Tue, Oct 16, 2012 at 09:15:04 +0000, Thomas Klausner wrote:
 >  I tested your patch in an empty sandbox with just the recorded
 >  dependencies installed, so "no".
 >  
 >  Please extend the patch to either forbid finding it, or
 >  build-depending on it.
 
 Is this an acceptable solution?
 
 
 Index: options.mk
 ===================================================================
 RCS file: /pub/NetBSD-CVS/pkgsrc/mail/mutt-devel/options.mk,v
 retrieving revision 1.43
 diff -u -p -r1.43 options.mk
 --- options.mk 28 Aug 2012 20:15:41 -0000      1.43
 +++ options.mk 16 Oct 2012 09:35:00 -0000
 @@ -112,18 +112,25 @@ CONFIGURE_ARGS+= --disable-hcache
  ###
  ### Compressed mail boxes
  ###
 +PLIST_VARS+=          compressed_mbox
  .if !empty(PKG_OPTIONS:Mmutt-compressed-mbox)
 +PLIST.compressed_mbox=        yes
 +BUILD_DEPENDS+=               libxslt>=1.0.0:../../textproc/libxslt
  PATCH_SITES+=         http://mutt.org.ua/download/${PKGNAME_NOREV}/
  PATCHFILES+=          patch-${PKGVERSION_NOREV}.rr.compressed.gz
  PATCH_DIST_STRIP=     -p1
  CONFIGURE_ARGS+=      --enable-compressed
 -SUBST_CLASSES+=               compress
 +SUBST_CLASSES+=               compress xsltproc
  SUBST_MESSAGE.compress=       Patch Makefile.in to avoid autoreconf for 
compress
  SUBST_STAGE.compress= post-patch
  SUBST_FILES.compress= Makefile.in
  SUBST_SED.compress=   -e 's,^mutt_SOURCES = ,mutt_SOURCES = compress.c ,'
  SUBST_SED.compress+=  -e 's,^EXTRA_DIST = ,EXTRA_DIST = compress.h ,'
  SUBST_SED.compress+=  -e 's,^mutt_OBJECTS = ,mutt_OBJECTS = compress.o ,'
 +SUBST_STAGE.xsltproc= Patch Makefile.{in,am} to force xsltproc execution
 +SUBST_STAGE.xsltproc= post-patch
 +SUBST_FILES.xsltproc= doc/Makefile.in doc/Makefile.am
 +SUBST_SED.xsltproc=   -e 's,-xsltproc,xsltproc,'
  .endif
  
  ###
 


Home | Main Index | Thread Index | Old Index