pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/citrix_ica Replace the pre-patch target with a do-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/351c10e1d597
branches:  trunk
changeset: 498028:351c10e1d597
user:      veego <veego%pkgsrc.org@localhost>
date:      Wed Aug 10 17:12:32 2005 +0000

description:
Replace the pre-patch target with a do-patch one, because the patch which
was copied in pre-patch wasn't applied.
This fix an installation problem.

diffstat:

 net/citrix_ica/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 42fc1d506fbd -r 351c10e1d597 net/citrix_ica/Makefile
--- a/net/citrix_ica/Makefile   Wed Aug 10 16:51:56 2005 +0000
+++ b/net/citrix_ica/Makefile   Wed Aug 10 17:12:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2005/06/17 03:50:24 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2005/08/10 17:12:32 veego Exp $
 #
 
 # A default so lintpkgsrc is happy, overridden below
@@ -59,11 +59,11 @@
 
 INSTALLATION_DIRS=     bin
 
-PATCHDIR=${WRKDIR}/.patches
-pre-patch:
-       ${MKDIR} ${PATCHDIR}
-       ${CP} ${PKGDIR}/patches/patch-${MACHINE_ARCH}-* ${PATCHDIR}
-       ${CHMOD} -R u+w ${WRKSRC}
+do-patch:
+       @(cd ${WRKSRC}; \
+       for f in ${PATCHDIR}/patch-${MACHINE_ARCH}-*;do \
+       ${PATCH} <$$f >/dev/null 2>&1 || true; \
+       done)
 
 do-build:
        ${SED} s%DESTINATION%${CDIR}% ${FILESDIR}/response.${MACHINE_ARCH} \



Home | Main Index | Thread Index | Old Index