ports/108634: [maintainer][patch] mail/dkim-milter: use RC_SUBR_SUFFIX

Hirohisa Yamaguchi umq at ueo.co.jp
Thu Feb 1 00:40:18 UTC 2007


>Number:         108634
>Category:       ports
>Synopsis:       [maintainer][patch] mail/dkim-milter: use RC_SUBR_SUFFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 00:40:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Mon Nov 27 15:32:41 JST 2006 root at calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64


>Description:
	use RC_SUBR_SUFFIX which was introduced in bsd.port.mk recently.
>How-To-Repeat:
	N/A
>Fix:

	the patch was written by ranfan:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dkim-milter/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile	8 Nov 2006 05:37:38 -0000	1.13
+++ Makefile	31 Jan 2007 23:59:53 -0000
@@ -58,12 +58,7 @@ SITE+=		${FILESDIR}/site.config.m4.milte
 
 .include <bsd.port.pre.mk>
 
-# .sh suffix is stripped in recent releases.
-.if (${OSVERSION} >= 700007 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= 600101 ))
-SUB_LIST=	"RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}"
-.else
-SUB_LIST=	"RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR}"
-.endif
+SUB_LIST=	"RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}${RC_SUBR_SUFFIX}"
 
 .if defined(WITH_VERIFY_DOMAINKEYS) && !defined(WITHOUT_VERIFY_DOMAINKEYS)
 BROKEN=		dkim-milter does not verify DomainKeys correctly
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list