ports/50892: [PATCH] mail/p5-Mail-SpamAssassin fails to install

Mike Boev mike at tric.tomsk.gov.ru
Sun Apr 13 07:20:21 UTC 2003


>Number:         50892
>Category:       ports
>Synopsis:       [PATCH] mail/p5-Mail-SpamAssassin fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 00:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mike Boev
>Release:        FreeBSD 4.8-RC i386
>Organization:
Tomsk Regional Information Center
>Environment:
System: FreeBSD isrv.tric.tomsk.gov.ru 4.8-RC FreeBSD 4.8-RC #2: Mon Mar 31 11:20:55 NOVST 2003 root at isrv.tric.tomsk.gov.ru:/usr/obj/srv/FreeBSD/src/sys/ISRV i386

A fresh checkout of the port, 
currently Makefile at v 1.43 2003/04/07 00:12:26 dougb

>Description:
	Installation of the port fails at the post-install stage,
when it tries to edit the pkg-message file. But the pkg-message file cannot
be edited because it resides in the ports tree but not in the WRKDIR

>How-To-Repeat:
	cd /usr/ports/mail/p5-Mail-SpamAssassin
	make
	make install
	<breaks here>
>Fix:
	We can use the (standard?) technique of referencing the pkg-* files
indirectly (through ${PKG*} macros), as is done in net/cvsupit, for example.

please, find the patch that makes this change:

--- mail/p5-Mail-SpamAssassin/Makefile.orig	Sun Apr 13 13:56:35 2003
+++ mail/p5-Mail-SpamAssassin/Makefile	Sun Apr 13 13:57:28 2003
@@ -71,6 +71,6 @@
 	    spamd/README* sql/spamassassin.sql ${DOCSDIR}
 .endif
 
-	@${SED} -e 's#PREFIX#${PREFIX}#' pkg-message
+	@${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list