Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 13:59:17 -0700 (PDT)
From:      Takayuki Nakao <t@nakao.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        t@nakao.org
Subject:   ports/40707: update ports: mail/distribute
Message-ID:  <20020717205917.791526F@jodo.bdc.ntta.com>

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

>Number:         40707
>Category:       ports
>Synopsis:       update ports: mail/distribute
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 17 14:00:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Takayuki Nakao <t@nakao.org>
>Release:        
>Organization:
>Environment:
>Description:
This is a request for updating the ports mail/distribute.

The ports has several customizable variables in its Makefile,
such as MAILINGLIST_DIR, MAJORDOMO_DIR, and so on.
To enable these variables to be overwritten in /etc/make.conf,
the variables should be defined by '?=' operator in Makefile.

I've already sent the same request to the original maintainer, but
the request was silently ignored.

>How-To-Repeat:
>Fix:
Recurssive diff is shown below.

diff -ruN distribute.orig/Makefile distribute/Makefile
--- distribute.orig/Makefile	Wed Jul 17 13:32:16 2002
+++ distribute/Makefile	Wed Jul 17 13:40:15 2002
@@ -2,7 +2,7 @@
 # Date created:		1 Oct 1997
 # Whom:			itojun@itojun.org
 #
-# $FreeBSD: ports/mail/distribute/Makefile,v 1.6 2002/04/11 02:42:41 motoyuki Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	distribute
@@ -17,7 +17,7 @@
 
 MAINTAINER=	kuriyama@FreeBSD.org
 
-BUILD_DEPENDS=	${PREFIX}/lib/libmimekit.a:${PORTSDIR}/japanese/mimekit
+BUILD_DEPENDS=	${LOCALBASE}/lib/libmimekit.a:${PORTSDIR}/japanese/mimekit
 
 WRKSRC=		${WRKDIR}/distribute-pl19
 MAN1=		distribute.1
@@ -26,13 +26,13 @@
 IS_INTERACTIVE=	YES
 
 # customize below if you would like to
-MAILINGLIST_DIR=	${PREFIX}/majordomo/lists
-MAJORDOMO_DIR=		${PREFIX}/majordomo	# mail/majordomo likes this
-MAJORDOMO_LIST_DIR=	${MAJORDOMO_DIR}/lists
-ARCHIVE_DIR=		/var/spool/mail-list
-DEF_DOMAINNAME=		your.domain.here
-DISTRIBUTE_OWNER=	majordom		# owner of distribute
-DISTRIBUTE_GROUP=	majordom		# group of distribute
+MAILINGLIST_DIR?=	${PREFIX}/majordomo/lists
+MAJORDOMO_DIR?=		${PREFIX}/majordomo	# mail/majordomo likes this
+MAJORDOMO_LIST_DIR?=	${MAJORDOMO_DIR}/lists
+ARCHIVE_DIR?=		/var/spool/mail-list
+DEF_DOMAINNAME?=	your.domain.here
+DISTRIBUTE_OWNER?=	majordom		# owner of distribute
+DISTRIBUTE_GROUP?=	majordom		# group of distribute
 
 MAKE_ENV+=	DEFAULTCONFIG="-DDEF_SEQ_PATH=\\\"$(MAILINGLIST_DIR)\\\" \
 			-DDEF_RECIPIENT_PATH=\\\"$(MAILINGLIST_DIR)\\\" \
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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