Subject: pkg/17465: Broken postfix package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dawszy@tgr.lubin.edu.pl>
List: netbsd-bugs
Date: 07/03/2002 12:03:07
>Number:         17465
>Category:       pkg
>Synopsis:       postfix doesnt care of options like POSTIFX_USE_*
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 03 03:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dawid Szymanski
>Release:        NetBSD 1.6_BETA3
>Organization:


Regards,
Dawid Szymanski

-- 
http://www.NetBSD.org/ http://www.pl.silcnet.org/ http://www.google.com/ Enjoy!
     .:: mobile: +48691626681 :: DAWS-6BONE :: DAWS-RIPE  :: SQ6EMM ::.
>Environment:
	
	
System: NetBSD gornik.tgr.lubin.edu.pl 1.6_BETA3 NetBSD 1.6_BETA3 (GORNIK) #0: Mon Jun 24 19:46:14 CEST 2002 dawszy@gornik.tgr.lubin.edu.pl:/usr/src/sys/arch/i386/compile/GORNIK i386
Architecture: i386
Machine: i386
>Description:
	
	ATM we are unable to compile postfix with MYSQL or PCRE or some other "options"
>How-To-Repeat:
	
	make POSTFIX_USE_MYSQL=YES install
	/usr/pkg/sbin/postconf -m | grep mysql
>Fix:
	

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/postfix/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- Makefile	2002/06/17 19:42:08	1.65
+++ Makefile	2002/07/03 09:59:52
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.65 2002/06/17 19:42:08 tron Exp $
 
 DISTNAME=	postfix-1.1.11
+PKGREVISION=1
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/
 
@@ -83,7 +84,8 @@
 	    > ${WRKSRC}/src/global/mail_params.h
 
 do-configure:
-	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} makefiles)
+	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f Makefile.init makefiles \
+	'CCARGS=${CCARGS}' 'AUXLIBS=${AUXLIBS}')
 
 post-build:
 	${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
>Release-Note:
>Audit-Trail:
>Unformatted: