summaryrefslogtreecommitdiff
path: root/databases/cdb
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-03-13 03:25:43 +0000
committerschmonz <schmonz@pkgsrc.org>2005-03-13 03:25:43 +0000
commit62069cb07f8f2ede3a6682e7b86457fed2b89fde (patch)
treee13c428ca94c0db7b6e70497630f99e207d41522 /databases/cdb
parentb18f31713059cb726de7197e577a0a161bb4164b (diff)
downloadpkgsrc-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 'databases/cdb')
-rw-r--r--databases/cdb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile
index 4eccf557c83..68d6e8c1682 100644
--- a/databases/cdb/Makefile
+++ b/databases/cdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/12/03 15:14:53 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/03/13 03:25:43 schmonz Exp $
DISTNAME= cdb-0.75
CATEGORIES= databases
@@ -22,8 +22,8 @@ INSTALL_TARGET= setup check
INSTALLATION_DIRS= bin include lib
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} > ${WRKSRC}/conf-home
post-install: