Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2004 11:23:00 -0800 (PST)
From:      Shizuka Kudo <shizukakudo_99@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64629: mail/dspam port not using any of WITH_* option
Message-ID:  <20040323192301.88711.qmail@web11407.mail.yahoo.com>
Resent-Message-ID: <200403231930.i2NJUGrJ035625@freefall.freebsd.org>

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

>Number:         64629
>Category:       ports
>Synopsis:       mail/dspam not using any of WITH_* option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 11:30:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Shizuka Kudo
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD shizuka.com 5.2-CURRENT FreeBSD 5.2-CURRENT #20040322: Tue Mar 22 20:45:23 GMT
2004
root@shizuka.com:/usr/obj/usr/src/sys/SHIZUKA i386

        i386, FreeBSD-current
>Description:
        mail/dspam does not respect any of WITH_* option as created by OPTIONS= setting 
	in the Makefile
>How-To-Repeat:
        cd /usr/ports/mail/dspam; make
>Fix:

	According to the NOTE in bsd.ports.mk, WITH_* must be tested after bsd.ports.pre.mk:

	NOTE: To make options work, you need to include bsd.port.pre.mk before you start 
	testing the WITH_xyz variables.

See attached patch to make WITH_* work in dspam

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
--0-1107410363-1080069780=:88678
Content-Type: text/x-makefile; name="Makefile.diff"
Content-Description: Makefile.diff
Content-Disposition: inline; filename="Makefile.diff"

--- Makefile.orig	Tue Mar 23 16:38:02 2004
+++ Makefile	Wed Mar 24 03:11:25 2004
@@ -31,6 +31,8 @@
 		-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
 		-e 's,%%LOCALBASE%%,${LOCALBASE},g'
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_MYSQL)
 USE_MYSQL=	yes
 CONFIGURE_ARGS+=	--with-storage-driver=mysql_drv \
@@ -88,4 +90,4 @@
 .endif
 	@${SED} ${SED_SCRIPT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

--0-1107410363-1080069780=:88678--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --0-1107410363-1080069780=:88678
 Content-Type: text/plain; charset=us-ascii
 Content-Id: 
 Content-Disposition: inline
 



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