21af779684
and ${CFLAGS}. This fixes the build of net/djbdns, as well as any other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as well as being more generally correct for arbitrary user-defined CFLAGS. Suggested by jlam. For consistency across djbware in pkgsrc: * In math/djbfft's and sysutils/daemontools's do-configure targets, remove leading @ from ${ECHO} lines; from the former, also remove unneeded single quotes from one such line. * Rename net/publicfile's pre-build and sysutils/service-config's post-patch targets to do-configure. * In sysutils/checkpassword's do-configure target, reorder creation of conf-cc, conf-ld, and conf-home. All of the affected packages have been verified to compile. XXX These packages probably have enough build goo in common to XXX warrant an mk/djbware.mk. I'll investigate this post-freeze.
27 lines
725 B
Makefile
27 lines
725 B
Makefile
# $NetBSD: Makefile,v 1.11 2005/03/13 03:25:44 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= qtools-0.56
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.superscript.com/qtools/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://www.superscript.com/qtools/intro.html
|
|
COMMENT= Utilities for filtering via .qmail
|
|
|
|
DEPENDS+= {ezmlm>=0.53,ezmlm-idx-[0-9]*}:../../mail/ezmlm
|
|
DEPENDS+= qmail>=1.03:../../mail/qmail
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
BUILD_TARGET= it
|
|
INSTALL_TARGET= setup check
|
|
|
|
do-configure:
|
|
${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
|
|
${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
|
|
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
|
|
${ECHO} ${PREFIX} > ${WRKSRC}/conf-ezmlm
|
|
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|