summaryrefslogtreecommitdiff
path: root/print/pdflib
diff options
context:
space:
mode:
authorrecht <recht>2004-04-27 11:45:07 +0000
committerrecht <recht>2004-04-27 11:45:07 +0000
commitf2f4cabe366597e929711c1e03c73eef32e4ed14 (patch)
tree9fd04f100baff8fe04dba4387f9e6843a94b048c /print/pdflib
parent781dd06fe7821ccbe9a9737f148e57cd088656f7 (diff)
downloadpkgsrc-f2f4cabe366597e929711c1e03c73eef32e4ed14.tar.gz
Replace "sed" by ${SED} in configure and pdflib-config.in to ensure
a working sed. Addresses PR pkg/25306 by Georg Schwarz.
Diffstat (limited to 'print/pdflib')
-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"