From 21af779684ab743761eeae55e7049899c55a63d8 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 13 Mar 2005 03:25:43 +0000 Subject: 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. --- mail/qmailanalog/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/qmailanalog') diff --git a/mail/qmailanalog/Makefile b/mail/qmailanalog/Makefile index b68a77c7c2d..872f45021d2 100644 --- a/mail/qmailanalog/Makefile +++ b/mail/qmailanalog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/12/03 15:15:02 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2005/03/13 03:25:44 schmonz Exp $ # DISTNAME= qmailanalog-0.70 @@ -19,8 +19,8 @@ NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} 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} ${PREFIX}/qmailanalog > ${WRKSRC}/conf-home .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3