Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 22:21:13 +1200
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82437: [patch] fix mail/dbmail build on 4.x
Message-ID:  <E1DkJOz-000Fwh-2W@heff.fud.org.nz>
Resent-Message-ID: <200506201030.j5KAUKYL008737@freefall.freebsd.org>

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

>Number:         82437
>Category:       ports
>Synopsis:       [patch] fix mail/dbmail build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 20 10:30:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Thompson
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD heff.fud.org.nz 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jun 11 23:17:31 NZST 2005 thompsa@heff.fud.org.nz:/usr/obj/usr/src/sys/HEFF i386


	
>Description:
Fix two problems with dbmail

1. set USE_GETOPT_LONG so it compiles on 4.x

2. set USE_RC_SUBR. The port uses ${RC_SUBR} and ${RC_SUFX} but they are
   undefined since USE_RC_SUBR isnt set. This makes the rc.d scripts for
   dbmail useless.

I think it is important to fix these in a timely manner as we have been 
getting bad press on the dbmail mailing lists for a while now. The RC_SUBR
problem has been there since Nov 04.

>How-To-Repeat:
	
>Fix:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dbmail/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	18 Jun 2005 21:34:54 -0000	1.23
+++ Makefile	20 Jun 2005 09:44:22 -0000
@@ -18,8 +18,10 @@
 USE_REINPLACE=	YES
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS=	--prefix=${PREFIX}
+USE_GETOPT_LONG=YES
 USE_GMAKE=	YES
 USE_OPENSSL=	YES
+USE_RC_SUBR=	YES
 
 CFLAGS += -fPIC
 

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DkJOz-000Fwh-2W>