summaryrefslogtreecommitdiff
path: root/mail/postfix
diff options
context:
space:
mode:
authormartti <martti>2001-12-01 12:24:23 +0000
committermartti <martti>2001-12-01 12:24:23 +0000
commit806700c5bdcaf6399c6b7e5a9eab22067bafb2c3 (patch)
treecb0f845926fc76b231f1715ef256017f001672dc /mail/postfix
parent4e237e06f64f4c65d3871d6850f95290883f4834 (diff)
downloadpkgsrc-806700c5bdcaf6399c6b7e5a9eab22067bafb2c3.tar.gz
* Use ${MAKE_ENV} in do-configure. Without this small fix I wasn't able to
use PCRE with postfix. * Move BUILD_DEFS+=POSTFIX_USE_PCRE inside ".if defined(POSTFIX_USE_PCRE)"
Diffstat (limited to 'mail/postfix')
-rw-r--r--mail/postfix/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 6f1ad062b71..85af212b28b 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2001/11/30 10:26:55 martti Exp $
+# $NetBSD: Makefile,v 1.48 2001/12/01 12:24:23 martti Exp $
DISTNAME= postfix-20010228-pl08
PKGNAME= postfix-20010228pl8
@@ -11,7 +11,7 @@ PATCH_DIST_STRIP+= -p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.postfix.org/
-COMMENT= postfix smtp server and tools
+COMMENT= Postfix SMTP server and tools
DIST_SUBDIR= postfix
@@ -19,15 +19,14 @@ POSTFIX_SPOOL= /var/spool/postfix
.include "../../mk/bsd.prefs.mk"
-.if defined(POSTFIX_USE_PCRE) && ${POSTFIX_USE_PCRE} == YES
+.if defined(POSTFIX_USE_PCRE) && ${POSTFIX_USE_PCRE} == "YES"
DEPENDS+= pcre>=2.08:../../devel/pcre
CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
AUXLIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpcre
MAKE_ENV+= AUXLIBS="${AUXLIBS}" CCARGS="${CCARGS}"
+BUILD_DEFS+= POSTFIX_USE_PCRE
.endif
-BUILD_DEFS+= POSTFIX_PCRE
-
PLIST_SRC= ${PKGDIR}/PLIST
ALL_TARGET= #empty
@@ -47,7 +46,7 @@ pre-configure:
> ${WRKSRC}/INSTALL.sh
do-configure:
- (cd ${WRKSRC}; ${MAKE} makefiles)
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} makefiles)
post-build:
${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \