pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/pdflib Replace "sed" by ${SED} in configure and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5003742f2b6d
branches:  trunk
changeset: 474288:5003742f2b6d
user:      recht <recht%pkgsrc.org@localhost>
date:      Tue Apr 27 11:45:07 2004 +0000

description:
Replace "sed" by ${SED} in configure and pdflib-config.in to ensure
a working sed.
Addresses PR pkg/25306 by Georg Schwarz.

diffstat:

 print/pdflib/Makefile.common |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r be75a3a29cb6 -r 5003742f2b6d print/pdflib/Makefile.common
--- a/print/pdflib/Makefile.common      Tue Apr 27 11:27:51 2004 +0000
+++ b/print/pdflib/Makefile.common      Tue Apr 27 11:45:07 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2004/02/14 17:21:50 jlam Exp $
+# $NetBSD: Makefile.common,v 1.12 2004/04/27 11:45:07 recht Exp $
 
 DISTNAME=              pdflib-${PDFLIB_DIST_VERS}
 PKGREVISION=           1
@@ -37,5 +37,11 @@
 
 CPPFLAGS+=             -Dunix
 
+SUBST_CLASSES+=                sed
+SUBST_STAGE.sed=       pre-configure
+SUBST_FILES.sed=       configure pdflib-config.in
+SUBST_SED.sed=         -e "s|^sed |${SED} |g"
+SUBST_SED.sed+=                -e "s| sed | ${SED} |g"
+
 .include "../../graphics/png/buildlink2.mk"
 .include "../../graphics/tiff/buildlink2.mk"



Home | Main Index | Thread Index | Old Index