pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/openoffice2 Use REPLACE_PYTHON instead of subst f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f11f23583d3
branches:  trunk
changeset: 542287:1f11f23583d3
user:      hira <hira%pkgsrc.org@localhost>
date:      Sun May 11 07:21:51 2008 +0000

description:
Use REPLACE_PYTHON instead of subst framework.

diffstat:

 misc/openoffice2/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 5726336100ff -r 1f11f23583d3 misc/openoffice2/Makefile
--- a/misc/openoffice2/Makefile Sun May 11 07:18:58 2008 +0000
+++ b/misc/openoffice2/Makefile Sun May 11 07:21:51 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2008/04/25 20:39:10 joerg Exp $
+# $NetBSD: Makefile,v 1.44 2008/05/11 07:21:51 hira Exp $
 #
 
 OO_VER=                        2.4.0
@@ -52,6 +52,8 @@
 
 GNU_CONFIGURE=         yes
 
+REPLACE_PYTHON+=       scripting/source/pyprov/mailmerge.py
+
 SUBST_CLASSES+=                lib
 SUBST_STAGE.lib=       post-patch
 SUBST_MESSAGE.lib=     Adding library paths
@@ -62,12 +64,6 @@
 LIBS+=                 ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${pkg}}/lib
 .endfor
 
-SUBST_CLASSES+=                python
-SUBST_STAGE.python=    post-patch
-SUBST_MESSAGE.python=  Fix python path
-SUBST_FILES.python=    scripting/source/pyprov/mailmerge.py
-SUBST_SED.python+=     -e 's,^\#!/bin/python$$,\#!${PYTHONBIN:Q},'
-
 CONFIGURE_ENV+=                LIBS=${LIBS:O:u:Q}
 CONFIGURE_ENV+=                X_LIBS=${X11_LDFLAGS:M*:Q}
 CONFIGURE_ENV+=                BLNK_PREFIX_db4=${BUILDLINK_PREFIX.db4}



Home | Main Index | Thread Index | Old Index