diff options
author | martti <martti@pkgsrc.org> | 2001-12-01 12:24:23 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2001-12-01 12:24:23 +0000 |
commit | e93f2066fbfaff8831347777430af7e6d1db87ef (patch) | |
tree | cb0f845926fc76b231f1715ef256017f001672dc | |
parent | 4fb369cb8cca19c2a445a650e9ff6e7085022272 (diff) | |
download | pkgsrc-e93f2066fbfaff8831347777430af7e6d1db87ef.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)"
-rw-r--r-- | mail/postfix/Makefile | 11 |
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' \ |