pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/magento Remove .orig_dist files before install...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5da1fa924dd9
branches:  trunk
changeset: 651164:5da1fa924dd9
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Sun May 03 10:59:44 2015 +0000

description:
Remove .orig_dist files before install. Fixes install stage.

diffstat:

 finance/magento/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r acde5df24ec0 -r 5da1fa924dd9 finance/magento/Makefile
--- a/finance/magento/Makefile  Sun May 03 10:37:36 2015 +0000
+++ b/finance/magento/Makefile  Sun May 03 10:59:44 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/04/29 14:11:09 fhajny Exp $
+# $NetBSD: Makefile,v 1.3 2015/05/03 10:59:44 fhajny Exp $
 
 DISTNAME=      magento-1.9.1.0
 PKGREVISION=   1
@@ -84,6 +84,9 @@
        ${GREP} '^SUPEE-' ${DISTDIR}/${DIST_SUBDIR}/${file} >> ${WRKSRC}/app/etc/applied.patches.list
 .endfor
 
+pre-install:
+       ${FIND} ${WRKSRC} -type f -name "*.orig_dist" | ${XARGS} ${RM} -f
+
 do-install:
        cd ${WRKSRC} && pax -rw -p pp * ${DESTDIR}${PREFIX}/share/magento
        cd ${DESTDIR}${PREFIX}/share/magento/app/etc && \



Home | Main Index | Thread Index | Old Index