diff options
author | schmonz <schmonz> | 2005-03-13 03:25:43 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2005-03-13 03:25:43 +0000 |
commit | e73ea1ebce2c254f6c2d8abbfa33a987b2f83b86 (patch) | |
tree | e13c428ca94c0db7b6e70497630f99e207d41522 /mail/qmail | |
parent | b48709dac462de3cba0bb2326312b437dbfd570f (diff) | |
download | pkgsrc-e73ea1ebce2c254f6c2d8abbfa33a987b2f83b86.tar.gz |
In packages with djb-style compile scripts, properly enquote ${CC}
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.
Diffstat (limited to 'mail/qmail')
-rw-r--r-- | mail/qmail/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 494c434eb16..906dae86e7a 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2004/12/21 05:32:56 schmonz Exp $ +# $NetBSD: Makefile,v 1.31 2005/03/13 03:25:44 schmonz Exp $ # DISTNAME= netqmail-1.05 @@ -100,8 +100,8 @@ post-extract: ${MV} ${PKGNAME_NOREV} ..; ${MV} ${DISTNAME}.patch .. do-configure: - ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc - ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld + ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc + ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail post-build: |