From 564ba0119883d91670d0037e1741cbb4daf7ca09 Mon Sep 17 00:00:00 2001 From: veego Date: Wed, 10 Aug 2005 17:12:32 +0000 Subject: 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. --- net/citrix_ica/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'net/citrix_ica') diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile index 783e35e0933..aff5d8b0fc9 100644 --- a/net/citrix_ica/Makefile +++ b/net/citrix_ica/Makefile @@ -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 @@ PKG_FAIL_REASON= "${PKGNAME} requires SVR4 compability - see compat_svr4(8)" 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} \ -- cgit v1.2.3