From fbdb6bf73e44f4ed7a70df9126d8c6668f8bbcb8 Mon Sep 17 00:00:00 2001 From: Alexander Logvinov Date: Sat, 3 Oct 2009 10:47:15 +0000 Subject: [PATCH] - Speed up build phase Approved by: tabthorpe, glarkin (mentors, implicit) --- archivers/py-librtfcomp/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archivers/py-librtfcomp/Makefile b/archivers/py-librtfcomp/Makefile index 465f771a509a..cec8437c3f1f 100644 --- a/archivers/py-librtfcomp/Makefile +++ b/archivers/py-librtfcomp/Makefile @@ -22,6 +22,13 @@ PLIST= ${.CURDIR}/pkg-plist RTFCOMP_SLAVE= pythonb +pre-patch: + @${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librtfcomp.la|${LOCALBASE}/lib/librtfcomp.la|g' \ + ${WRKSRC}/python/Makefile.in + +do-build: + @(cd ${WRKSRC}/python && ${MAKE}) + do-install: @(cd ${WRKSRC}/python && ${MAKE} install)