pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/foomatic4-db-engine Fix TOOLS_DIR reference in i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2446787beea
branches:  trunk
changeset: 639800:d2446787beea
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 25 17:37:54 2014 +0000

description:
Fix TOOLS_DIR reference in installed file.

diffstat:

 print/foomatic4-db-engine/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 928f9796aa2d -r d2446787beea print/foomatic4-db-engine/Makefile
--- a/print/foomatic4-db-engine/Makefile        Thu Sep 25 17:26:56 2014 +0000
+++ b/print/foomatic4-db-engine/Makefile        Thu Sep 25 17:37:54 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/09/25 17:26:56 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2014/09/25 17:37:54 jperkin Exp $
 #
 
 DISTNAME=      foomatic-db-engine-4.0.8
@@ -36,6 +36,11 @@
 
 post-configure: perl5-configure
 
+SUBST_CLASSES+=                fixpath
+SUBST_STAGE.fixpath=   post-build
+SUBST_FILES.fixpath=   lib/Foomatic/Defaults.pm
+SUBST_SED.fixpath=     -e "s,${TOOLS_DIR}/bin/curl,${BUILDLINK_PREFIX.curl}/bin/curl,g"
+
 .include "../../lang/perl5/module.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 # XXX wget should work too



Home | Main Index | Thread Index | Old Index