summaryrefslogtreecommitdiff
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
commit21af779684ab743761eeae55e7049899c55a63d8 (patch)
treee13c428ca94c0db7b6e70497630f99e207d41522
parent123caa2220b7dc3083a857ce8ee74447e7d76f93 (diff)
downloadpkgsrc-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.
-rw-r--r--databases/cdb/Makefile6
-rw-r--r--devel/bglibs/Makefile6
-rw-r--r--mail/dot-forward/Makefile6
-rw-r--r--mail/ezmlm/Makefile.common6
-rw-r--r--mail/fastforward/Makefile6
-rw-r--r--mail/mess822/Makefile6
-rw-r--r--mail/qmail-conf/Makefile6
-rw-r--r--mail/qmail-qfilter/Makefile6
-rw-r--r--mail/qmail/Makefile6
-rw-r--r--mail/qmailanalog/Makefile6
-rw-r--r--mail/qtools/Makefile6
-rw-r--r--mail/queue-fix/Makefile6
-rw-r--r--mail/safecat/Makefile6
-rw-r--r--math/djbfft/Makefile10
-rw-r--r--net/djbdns/Makefile6
-rw-r--r--net/publicfile/Makefile8
-rw-r--r--net/ucspi-tcp/Makefile6
-rw-r--r--sysutils/checkpassword/Makefile6
-rw-r--r--sysutils/daemontools/Makefile8
-rw-r--r--sysutils/service-config/Makefile10
20 files changed, 66 insertions, 66 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:
diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile
index f0a4ee86885..4135ef93062 100644
--- a/devel/bglibs/Makefile
+++ b/devel/bglibs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2005/03/13 03:25:43 schmonz Exp $
#
DISTNAME= bglibs-1.019
@@ -12,8 +12,8 @@ COMMENT= Collection of libraries by Bruce Guenter
USE_BUILDLINK3= yes
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
do-install:
diff --git a/mail/dot-forward/Makefile b/mail/dot-forward/Makefile
index c227b93c913..7109025df05 100644
--- a/mail/dot-forward/Makefile
+++ b/mail/dot-forward/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= dot-forward-0.71
@@ -22,8 +22,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} ${QMAILDIR} > ${WRKSRC}/conf-qmail
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ezmlm/Makefile.common b/mail/ezmlm/Makefile.common
index 6fbf46f3dc7..70e0f56c34d 100644
--- a/mail/ezmlm/Makefile.common
+++ b/mail/ezmlm/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile.common,v 1.6 2005/03/13 03:25:44 schmonz Exp $
#
EZMLM_VERS= ezmlm-0.53
@@ -15,8 +15,8 @@ BUILD_TARGET= it man install
INSTALL_TARGET= setup
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}/bin > ${WRKSRC}/conf-bin
${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
diff --git a/mail/fastforward/Makefile b/mail/fastforward/Makefile
index e15eb683448..05462e2734e 100644
--- a/mail/fastforward/Makefile
+++ b/mail/fastforward/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= fastforward-0.51
@@ -24,8 +24,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} ${QMAILDIR} > ${WRKSRC}/conf-qmail
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index 7b003a17892..5451920fe4a 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/03/07 09:53:33 uebayasi Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= mess822-0.58
@@ -36,8 +36,8 @@ INSTALLATION_DIRS= bin include lib man man/cat1 man/cat3 man/cat5 man/cat8
INSTALLATION_DIRS+= man/man1 man/man3 man/man5 man/man8 share/examples/mess822
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
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
index af295cc282f..7cb22020760 100644
--- a/mail/qmail-conf/Makefile
+++ b/mail/qmail-conf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= qmail-conf-0.60
@@ -24,8 +24,8 @@ BUILD_TARGET= it
INSTALL_TARGET= setup check
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} ${LOCALBASE} > ${WRKSRC}/conf-ucspi-tcp
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
diff --git a/mail/qmail-qfilter/Makefile b/mail/qmail-qfilter/Makefile
index a67f811f820..5cb9281ed89 100644
--- a/mail/qmail-qfilter/Makefile
+++ b/mail/qmail-qfilter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/12/21 00:14:13 schmonz Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= qmail-qfilter-2.0
@@ -33,8 +33,8 @@ INSTALLATION_DIRS= bin man man/man1 share/examples/qmail-qfilter
.include "../../mk/bsd.prefs.mk"
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}/bin > ${WRKSRC}/conf-bin
${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man
${ECHO} ${PREFIX}/include/bglibs > ${WRKSRC}/conf-bgincs
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:
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"
diff --git a/mail/qtools/Makefile b/mail/qtools/Makefile
index 234e757ccfa..b8188c50629 100644
--- a/mail/qtools/Makefile
+++ b/mail/qtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= qtools-0.56
@@ -18,8 +18,8 @@ BUILD_TARGET= it
INSTALL_TARGET= setup check
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
${ECHO} ${PREFIX} > ${WRKSRC}/conf-ezmlm
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
diff --git a/mail/queue-fix/Makefile b/mail/queue-fix/Makefile
index bf54d9e9029..14477dc8959 100644
--- a/mail/queue-fix/Makefile
+++ b/mail/queue-fix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= queue-fix
@@ -19,8 +19,8 @@ BUILD_TARGET= it
INSTALLATION_DIRS= bin share/doc/queue-fix
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin
diff --git a/mail/safecat/Makefile b/mail/safecat/Makefile
index ef3bbaab0c9..2b4ffa5c2b8 100644
--- a/mail/safecat/Makefile
+++ b/mail/safecat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= safecat-1.12
@@ -15,8 +15,8 @@ BUILD_TARGET= it install instcheck
INSTALL_TARGET= setup check
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-root
.include "../../mk/bsd.pkg.mk"
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
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index 7ea6441d621..7db19e58214 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2005/03/07 09:41:45 uebayasi Exp $
+# $NetBSD: Makefile,v 1.38 2005/03/13 03:25:44 schmonz Exp $
# FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp
#
@@ -50,8 +50,8 @@ CFLAGS+= --include errno.h
.include "options.mk"
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:
diff --git a/net/publicfile/Makefile b/net/publicfile/Makefile
index 81ce30fd666..3c85af07aea 100644
--- a/net/publicfile/Makefile
+++ b/net/publicfile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/12/03 15:15:06 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= publicfile-0.52
@@ -19,9 +19,9 @@ RESTRICTED= "unsure of djb's license"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
-pre-build:
- ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+do-configure:
+ ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${PREFIX}/publicfile > ${WRKSRC}/conf-home
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index 236c0460612..da37910ec8b 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2004/12/03 15:15:06 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2005/03/13 03:25:44 schmonz Exp $
# FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp
DISTNAME= ucspi-tcp-0.88
@@ -31,8 +31,8 @@ GCC_REQD+= 3.0
INSTALLATION_DIRS= bin man man/man1
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:
diff --git a/sysutils/checkpassword/Makefile b/sysutils/checkpassword/Makefile
index 0f75f884484..048ee141984 100644
--- a/sysutils/checkpassword/Makefile
+++ b/sysutils/checkpassword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/12/03 15:15:09 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= checkpassword-0.90
@@ -23,8 +23,8 @@ INSTALL_TARGET= setup check
INSTALLATION_DIRS= bin
do-configure:
+ ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
- ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
.include "../../mk/bsd.pkg.mk"
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
diff --git a/sysutils/service-config/Makefile b/sysutils/service-config/Makefile
index 5c84d9397be..143e126b70b 100644
--- a/sysutils/service-config/Makefile
+++ b/sysutils/service-config/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/12/03 15:15:10 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/13 03:25:44 schmonz Exp $
#
DISTNAME= service-config-0.51
@@ -19,9 +19,9 @@ RESTRICTED= "Possibly inherited DJB-style license would prohibit distributio
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
-post-patch:
- ${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
- ${ECHO} "${CC} ${_STRIPFLAG_CC}" > ${WRKSRC}/conf-ld
- ${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home
+do-configure:
+ ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+ ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
.include "../../mk/bsd.pkg.mk"