pkgsrc/mail/metamail/Makefile
jlam 63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00

28 lines
599 B
Makefile

# $NetBSD: Makefile,v 1.13 2001/08/29 22:41:20 jlam Exp $
DISTNAME= mm2.7
PKGNAME= mm-2.7
CATEGORIES= mail
MASTER_SITES= ftp://thumper.bellcore.com/pub/nsb/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
CONFLICTS+= elm>=2.5.5
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_BUILDLINK_ONLY= YES
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CFLAGS= -DSYSV
MAKE_ENV+= CC="${CC}"
.endif
post-patch:
${RM} -f ${WRKDIR}/mm2.7/src/bin/*.orig
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"