diff options
author | grant <grant> | 2003-09-19 01:55:34 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-19 01:55:34 +0000 |
commit | 2f8cf03d40067384ffa9cf8a7c15ae053de77556 (patch) | |
tree | 5d3d7cfd7733286daf0bb35d32b37abe38075158 /mail/sendmail | |
parent | 57f1cfd23c3ce7adfcb1d980c4f1d747245fdc76 (diff) | |
download | pkgsrc-2f8cf03d40067384ffa9cf8a7c15ae053de77556.tar.gz |
remove the M4 dance, and just set USE_GNU_TOOLS+=m4.
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile.common | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/mail/sendmail/Makefile.common b/mail/sendmail/Makefile.common index b52ce9cb1ff..7c95fbaf2fe 100644 --- a/mail/sendmail/Makefile.common +++ b/mail/sendmail/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.10 2003/09/18 09:01:03 grant Exp $ +# $NetBSD: Makefile.common,v 1.11 2003/09/19 01:55:34 grant Exp $ # # Makefile fragment shared with libmilter # @@ -31,26 +31,11 @@ BUILD_DEFS+= USE_INET6 USE_TCPWRAPPERS USE_LDAP USE_DB2 \ DESCR_SRC= ${WRKDIR}/.DESCR_SRC USE_BUILDLINK2= YES +USE_GNU_TOOLS+= m4 +MAKE_ENV+= M4="${M4}" .include "../../mk/bsd.prefs.mk" -_NEED_GNU_M4= NO -_NEED_GNU_M4_PLATFORM= NetBSD-0.*-* NetBSD-1.[01234]*-* -_NEED_GNU_M4_PLATFORM= NetBSD-1.5.*-* NetBSD-1.5[A-Y]-* -.for __tmp__ in ${_NEED_GNU_M4_PLATFORM} -. if ${MACHINE_PLATFORM:M${__tmp__}} != "" -_NEED_GNU_M4= YES -. endif -.endfor - -.if ${_NEED_GNU_M4} == "YES" -BUILD_DEPENDS+= m4-*:../../devel/m4 -EVAL_PREFIX+= M4_PREFIX=m4 -MAKE_ENV+= M4=${M4_PREFIX}/bin/${GNU_PROGRAM_PREFIX}m4 -.else -MAKE_ENV+= M4=${M4} -.endif - make-sendmail-siteconfig: ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG} ${CHMOD} +w ${SITECONFIG} |