ports/64629: mail/dspam port not using any of WITH_* option
Shizuka Kudo
shizukakudo_99 at yahoo.com
Tue Mar 23 19:30:16 UTC 2004
>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 at 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
More information about the freebsd-ports-bugs
mailing list