From nobody@FreeBSD.org  Mon Jan 29 06:39:15 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9D36F37B6A9
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Jan 2001 06:39:14 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0TEdEN95967;
	Mon, 29 Jan 2001 06:39:14 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101291439.f0TEdEN95967@freefall.freebsd.org>
Date: Mon, 29 Jan 2001 06:39:14 -0800 (PST)
From: tarkhil@over.ru
To: freebsd-gnats-submit@FreeBSD.org
Subject: Improvements of ports/mail/vpopmail Makefile
X-Send-Pr-Version: www-1.0

>Number:         24718
>Category:       ports
>Synopsis:       Improvements of ports/mail/vpopmail Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 29 06:40:01 PST 2001
>Closed-Date:    Mon Jan 29 07:19:54 PST 2001
>Last-Modified:  Mon Jan 29 07:20:12 PST 2001
>Originator:     Alex Povolotsky
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD runaway.2sun.ru 4.0-20001121-STABLE FreeBSD 4.0-20001121-STABLE #0: Fri Dec 22 16:08:27 MSK 2000     root@runaway.2sun.ru:/usr/src/sys/compile/RUNAWAY  i386

>Description:
I've added WITH_MYSQL and DEFAULT_DOMAIN macroses to vpopmail Makefile

I suppose that qmailadmin should also need some patching to work with it, but haven't sloved yet.

Here is the patch for vpopmail's Makefile:

===
52c52,62
< 
---
> .if defined(WITH_MYSQL)
> BUILD_DEPENDS +=  ${LOCALBASE}/lib/mysql/misqlclient.so:${PORTSDIR}/databases/mysql323-client
> RUN_DEPENDS +=  ${LOCALBASE}/lib/mysql/misqlclient.so:${PORTSDIR}/databases/my
> sql323-client
> CONFIGURE_ARGS += --with-mysql=y \
>               --with-sqlincdir=${LOCALBASE}/include/mysql \
>               --with-sqllibdir=${LOCALBASE}/lib/mysql
> .endif
> .if defined(DEFAULT_DOMAIN)
> CONFIGURE_ARGS += --enable-default-domain=${DEFAULT_DOMAIN}
> .endif
===
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Mon Jan 29 07:19:54 PST 2001 
State-Changed-Why:  
Incorporated, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24718 
>Unformatted:
