summaryrefslogtreecommitdiff
path: root/misc/openoffice2
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2008-05-11 07:21:51 +0000
committerhira <hira@pkgsrc.org>2008-05-11 07:21:51 +0000
commit7593caf2f87029a0d5ab7e58fae71045983c61c9 (patch)
tree19d2bfdd2eb05d96e2c995327014504a2fcdc635 /misc/openoffice2
parent5247e32e37b3d4cdfee61f22adf004fe9afaead8 (diff)
downloadpkgsrc-7593caf2f87029a0d5ab7e58fae71045983c61c9.tar.gz
Use REPLACE_PYTHON instead of subst framework.
Diffstat (limited to 'misc/openoffice2')
-rw-r--r--misc/openoffice2/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/openoffice2/Makefile b/misc/openoffice2/Makefile
index 5332394874e..f81fc27740f 100644
--- a/misc/openoffice2/Makefile
+++ b/misc/openoffice2/Makefile
@@ -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 @@ ONLY_FOR_PLATFORM+= NetBSD-1.6Z[G-Z]*-x86_64 NetBSD-[2-9]*-x86_64
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+= -L${BUILDLINK_PREFIX.${pkg}}/lib
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}