Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2007 09:13:15 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108634: [maintainer][patch] mail/dkim-milter: use RC_SUBR_SUFFIX
Message-ID:  <86wt32vip0.wl%umq@ueo.co.jp>
Resent-Message-ID: <200702010040.l110eI6S034089@freefall.freebsd.org>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wt32vip0.wl%umq>