Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  5 Nov 2000 02:03:10 -0500 (EST)
From:      yds@dppl.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dwcjr@inethouston.net
Subject:   ports/22613: FIX: mail/postfix-current Makefile
Message-ID:  <20001105070310.06FF2DB08@toast.dppl.com>

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

>Number:         22613
>Category:       ports
>Synopsis:       FIX: mail/postfix-current Makefile
>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:   Sat Nov 04 23:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Yarema
>Release:        FreeBSD 4.2-BETA i386
>Organization:
>Environment:

	FreeBSD 4.2-BETA i386

>Description:

	The .if defined(WITH_*) sections of the Makefile have to be moved
below the MAN[158], CONF[12], BIN[12] declarations they try to append to.

As an example when installing WITH_PCRE the files

CONF1+=	pcre_table
CONF2+=	sample-pcre.cf
MAN5+=	pcre_table.5

will never get installed because the variables CONF1, CONF2 and MAN5 are
redefined later in the Makefile.

>How-To-Repeat:

	cd /usr/ports/mail/postfix-current
	make -DWITH_PCRE install
	make deinstall

>Fix:

diff -ruN postfix-current.orig/Makefile postfix-current/Makefile
--- postfix-current.orig/Makefile	Thu Nov  2 20:00:11 2000
+++ postfix-current/Makefile	Sun Nov  5 00:24:30 2000
@@ -31,6 +31,32 @@
 
 MAKEFILEFLAGS+=	OPT="${CFLAGS}"
 
+MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
+	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
+	sendmail.1
+
+MAN5=	access.5 aliases.5 canonical.5 regexp_table.5 relocated.5 \
+	transport.5 virtual.5
+
+MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
+	master.8 pickup.8 pipe.8 qmgr.8 showq.8 smtp.8 smtpd.8 \
+	spawn.8 trivial-rewrite.8
+
+CONF1=	access aliases canonical main.cf master.cf \
+	regexp_table relocated transport virtual
+
+CONF2=	sample-aliases.cf sample-canonical.cf sample-debug.cf \
+	sample-filter.cf sample-local.cf sample-misc.cf \
+	sample-rate.cf sample-regexp.cf sample-relocated.cf \
+	sample-resource.cf sample-rewrite.cf sample-smtp.cf \
+	sample-smtpd.cf sample-transport.cf sample-virtual.cf
+
+BIN1=	bounce cleanup error flush lmtp local master nqmgr pickup \
+	pipe qmgr showq smtp smtpd spawn trivial-rewrite
+
+BIN2=	postalias postcat postconf postdrop postfix \
+	postkick postlog postmap postsuper sendmail
+
 .if defined(WITH_MYSQL)
 BUILD_DEPENDS+=		${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client
 POSTFIX_CCARGS+=	-DHAS_MYSQL -I${LOCALBASE}/include/mysql
@@ -71,32 +97,6 @@
 .else
 PLIST_SUB+=		WITH_SASL="@comment "
 .endif
-
-MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
-	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
-	sendmail.1
-
-MAN5=	access.5 aliases.5 canonical.5 regexp_table.5 relocated.5 \
-	transport.5 virtual.5
-
-MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
-	master.8 pickup.8 pipe.8 qmgr.8 showq.8 smtp.8 smtpd.8 \
-	spawn.8 trivial-rewrite.8
-
-CONF1=	access aliases canonical main.cf master.cf \
-	regexp_table relocated transport virtual
-
-CONF2=	sample-aliases.cf sample-canonical.cf sample-debug.cf \
-	sample-filter.cf sample-local.cf sample-misc.cf \
-	sample-rate.cf sample-regexp.cf sample-relocated.cf \
-	sample-resource.cf sample-rewrite.cf sample-smtp.cf \
-	sample-smtpd.cf sample-transport.cf sample-virtual.cf
-
-BIN1=	bounce cleanup error flush lmtp local master nqmgr pickup \
-	pipe qmgr showq smtp smtpd spawn trivial-rewrite
-
-BIN2=	postalias postcat postconf postdrop postfix \
-	postkick postlog postmap postsuper sendmail
 
 post-patch:
 	(cd ${WRKSRC} && make -f Makefile.init makefiles ${MAKEFILEFLAGS} \


>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?20001105070310.06FF2DB08>