diff options
author | hira <hira> | 2008-05-11 07:21:51 +0000 |
---|---|---|
committer | hira <hira> | 2008-05-11 07:21:51 +0000 |
commit | aa8b9c5638a4265b1d16e176bc05cf7ffc90d9a3 (patch) | |
tree | 19d2bfdd2eb05d96e2c995327014504a2fcdc635 | |
parent | 6636be6f3f149fe21af82c4ca9559cf8addb889a (diff) | |
download | pkgsrc-aa8b9c5638a4265b1d16e176bc05cf7ffc90d9a3.tar.gz |
Use REPLACE_PYTHON instead of subst framework.
-rw-r--r-- | misc/openoffice2/Makefile | 10 |
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} |