ports/82437: [patch] fix mail/dbmail build on 4.x

Andrew Thompson thompsa at FreeBSD.org
Mon Jun 20 10:30:21 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list