Skip site navigation (1)Skip section navigation (2)
Date:      4 Mar 2003 15:14:34 -0000
From:      Rui Lopes <rui@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48920: PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port
Message-ID:  <20030304151434.28114.qmail@ns.webtt.biz>

next in thread | raw e-mail | index | archive | help

>Number:         48920
>Category:       ports
>Synopsis:       PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 07:20:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 5.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD disty 5.0-RELEASE-p2 FreeBSD 5.0-RELEASE-p2 #7: Sun Feb 23 17:54:25 WET 2003 root@disty:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
- added a flag ENABLE_MAILDIRQUOTA for building maildrop with support for updating the maildirsize file of a maildir.
- a fix for gnu configure warning,
   ===>   maildrop-1.5.0 depends on shared library: gdbm.3 - found
   configure: WARNING: you should use --build, --host, --target
   checking for i386-portbld-freebsd5.0-gcc... cc
- added COMMENT to Makefile
	
>How-To-Repeat:
	
>Fix:
- Apply patch to file,
  $FreeBSD: ports/mail/maildrop/Makefile,v 1.23 2003/01/03 08:26:33 ijliao Exp $
- Delete pkg-comment file from port directory.
	

--- Makefile.diff begins here ---
--- Makefile-orig	Tue Mar  4 01:36:29 2003
+++ Makefile	Tue Mar  4 14:49:15 2003
@@ -12,6 +12,7 @@
 MASTER_SITE_SUBDIR=	courier
 
 MAINTAINER=	petef@FreeBSD.org
+COMMENT=	Replacement local mail delivery agent, similar to procmail
 
 # Maildrop is usually installed with gdbm extensions. If you do not
 # want these extensions installed, define WITHOUT_GDBM.
@@ -20,7 +21,8 @@
 LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
 .endif
 
-INSTALL_TARGET=	install-strip
+CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+INSTALL_TARGET=		install-strip
 
 # Maildrop will be installed with suid permissions for MAILDROP_SUID,
 # and sgid permissions for MAILDROP_SGID. If undefined, these values
@@ -37,6 +39,9 @@
 		--enable-maildrop-gid="${MAILDROP_SGID}"
 .if defined(MAILDROPDEFAULT)
 CONFIGURE_ARGS+=	--with-default-maildrop=${MAILDROPDEFAULT}
+.endif
+.if defined(ENABLE_MAILDIRQUOTA)
+CONFIGURE_ARGS+=	--enable-maildirquota
 .endif
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib"
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304151434.28114.qmail>