summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-04-27 11:45:07 +0000
committerrecht <recht@pkgsrc.org>2004-04-27 11:45:07 +0000
commit116a957ebb8f1431cded0f02d944818446883b45 (patch)
tree9fd04f100baff8fe04dba4387f9e6843a94b048c
parentd8d92e21551001210adaeb185977918ea9e682b6 (diff)
downloadpkgsrc-116a957ebb8f1431cded0f02d944818446883b45.tar.gz
Replace "sed" by ${SED} in configure and pdflib-config.in to ensure
a working sed. Addresses PR pkg/25306 by Georg Schwarz.
-rw-r--r--print/pdflib/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/pdflib/Makefile.common b/print/pdflib/Makefile.common
index 4db6f4460b0..6fde2c1a961 100644
--- a/print/pdflib/Makefile.common
+++ b/print/pdflib/Makefile.common
@@ -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 @@ CONFIGURE_ARGS+= --enable-cxx=no
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"