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 | 21af779684ab743761eeae55e7049899c55a63d8 (patch) | |
tree | e13c428ca94c0db7b6e70497630f99e207d41522 /sysutils/daemontools | |
parent | 123caa2220b7dc3083a857ce8ee74447e7d76f93 (diff) | |
download | pkgsrc-21af779684ab743761eeae55e7049899c55a63d8.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 'sysutils/daemontools')
-rw-r--r-- | sysutils/daemontools/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile index 1849555f9f0..044152f2001 100644 --- a/sysutils/daemontools/Makefile +++ b/sysutils/daemontools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2004/12/03 15:15:10 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2005/03/13 03:25:44 schmonz Exp $ # FreeBSD Id: ports/sysutils/daemontools/Makefile,v 1.8 2000/12/03 05:16:41 steve Exp DISTNAME= daemontools-0.76 @@ -33,9 +33,9 @@ DEINSTALL_FILE= ${WRKDIR}/.DEINSTALL INSTALLATION_DIRS= bin man man/man8 share/examples/daemontools do-configure: - @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/src/conf-cc - @${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/src/conf-ld - @${ECHO} ${PREFIX} > ${WRKSRC}/src/conf-home + ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/src/conf-cc + ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/src/conf-ld + ${ECHO} ${PREFIX} > ${WRKSRC}/src/conf-home do-build: cd ${WRKSRC} && package/compile |