diff options
author | schmonz <schmonz@pkgsrc.org> | 2005-03-13 03:25:43 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2005-03-13 03:25:43 +0000 |
commit | 62069cb07f8f2ede3a6682e7b86457fed2b89fde (patch) | |
tree | e13c428ca94c0db7b6e70497630f99e207d41522 /math | |
parent | b18f31713059cb726de7197e577a0a161bb4164b (diff) | |
download | pkgsrc-62069cb07f8f2ede3a6682e7b86457fed2b89fde.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 'math')
-rw-r--r-- | math/djbfft/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile index 7b739c0a017..15d6a7a47f0 100644 --- a/math/djbfft/Makefile +++ b/math/djbfft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2005/03/13 03:25:44 schmonz Exp $ DISTNAME= djbfft-0.76 CATEGORIES= math @@ -16,11 +16,11 @@ USE_BUILDLINK3= yes NOT_FOR_PLATFORM= IRIX-*-* do-configure: - @${ECHO} '${CC} ${CFLAGS}' > ${WRKSRC}/conf-cc - @${ECHO} '${CC}' > ${WRKSRC}/conf-ld - @${ECHO} ${PREFIX} > ${WRKSRC}/conf-home + ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc + ${ECHO} ${CC:Q} > ${WRKSRC}/conf-ld + ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home .ifdef(WITH_OPT_PENTIUM) - @${ECHO} 'pentium' > ${WRKSRC}/conf-opt + ${ECHO} pentium > ${WRKSRC}/conf-opt .endif .ifdef(WITH_OPT_PPRO) @${ECHO} 'ppro' > ${WRKSRC}/conf-opt |