pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/elm Fix very weird quoting in "pre-configure" tar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b70e2946d547
branches:  trunk
changeset: 506580:b70e2946d547
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Jan 19 11:23:44 2006 +0000

description:
Fix very weird quoting in "pre-configure" target which broke the build
on system where e.g. ${CC} contains a space.

diffstat:

 mail/elm/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 928a07b5fe2f -r b70e2946d547 mail/elm/Makefile
--- a/mail/elm/Makefile Thu Jan 19 11:20:18 2006 +0000
+++ b/mail/elm/Makefile Thu Jan 19 11:23:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2005/08/22 13:15:05 salo Exp $
+# $NetBSD: Makefile,v 1.36 2006/01/19 11:23:44 tron Exp $
 
 DISTNAME=              elm2.5.8
 PKGNAME=               elm-2.5.8
@@ -20,11 +20,11 @@
 
 pre-configure:
        ${CP} ${FILESDIR}/config.sh ${WRKSRC}/config.sh.orig
-       ${SED} -e 's:PREFIX:'${PREFIX}':g' \
+       ${SED} -e 's:PREFIX:${PREFIX}:g' \
                ${WRKSRC}/config.sh.orig > ${WRKSRC}/config.sh.tmp
-       ${SED} -e 's:LOCALBASE:'${LOCALBASE}':g' \
+       ${SED} -e 's:LOCALBASE:${LOCALBASE}:g' \
                ${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh.tmp2
-       ${SED} -e 's:@CC@:'${CC}':g' \
+       ${SED} -e 's:@CC@:${CC}:g' \
                ${WRKSRC}/config.sh.tmp2 > ${WRKSRC}/config.sh
        ${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
        ${SED} -e 's:__PREFIX:'${PREFIX}':g' < ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS



Home | Main Index | Thread Index | Old Index