ports/80096: [MAINTAINER] mail/queue-fix: Forgot to set QMAIL_DIR var

Renato Botelho freebsd at galle.com.br
Tue Apr 19 15:40:25 UTC 2005


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

From: Renato Botelho <freebsd at galle.com.br>
To: bug-followup at FreeBSD.org, freebsd at galle.com.br
Cc:  
Subject: Re: ports/80096: [MAINTAINER] mail/queue-fix: Forgot to set QMAIL_DIR var
Date: Tue, 19 Apr 2005 12:36:47 -0300

 Please, use this patch that removes 3 lines pkg-plist and use PLIST_*
 vars
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/mail/queue-fix/Makefile,v
 retrieving revision 1.1
 diff -u -r1.1 Makefile
 --- Makefile	18 Apr 2005 18:22:30 -0000	1.1
 +++ Makefile	19 Apr 2005 15:34:29 -0000
 @@ -15,17 +15,20 @@
  
  RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
  
 +QMAIL_DIR?=	/var/qmail
 +PREFIX?=	${QMAIL_DIR}
 +
  OPTIONS=	BIG_TODO "Use big_todo patch" off
  
  CONFIGURE_SCRIPT=
  ALL_TARGET=
  
  PLIST_SUB=	DOCDIR=${DOCDIR}
 +PLIST_FILES=	bin/queue-fix
  
 -.if exists(${PREFIX}/qmail/bin/qmail-send)
 -PREFIX?=	${PREFIX}/qmail
 -.else
 -PREFIX?=	/var/qmail
 +.if !defined(NOPORTDOCS)
 +PLIST_FILES+=	%%DOCDIR%%/README
 +PLIST_DIRS+=	%%DOCDIR%%
  .endif
  
  .if (${PREFIX} == ${LOCALBASE})
 Index: pkg-plist
 ===================================================================
 RCS file: pkg-plist
 diff -N pkg-plist
 --- pkg-plist	18 Apr 2005 18:22:30 -0000	1.1
 +++ /dev/null	1 Jan 1970 00:00:00 -0000
 @@ -1,4 +0,0 @@
 - at comment $FreeBSD: ports/mail/queue-fix/pkg-plist,v 1.1 2005/04/18 18:22:30 pav Exp $
 -bin/queue-fix
 -%%PORTDOCS%%%%DOCDIR%%/README
 -%%PORTDOCS%%@dirrm %%DOCDIR%%
 ===> Done
 
 Thanks
 -- 
 Renato Botelho <freebsd at galle dot com dot br>
 AIM: RBGargaBR | ICQ: 54596223
 GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc
 
 Renning's Maxim:
 	Man is the highest animal.  Man does the classifying.



More information about the freebsd-ports-bugs mailing list