pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/vim-share - make sure buildlink does not kill ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/673bae680316
branches:  trunk
changeset: 520733:673bae680316
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Fri Oct 27 16:26:33 2006 +0000

description:
- make sure buildlink does not kill path to Mac OS X heraders
- use -f option to remove files in order to cope with permission issues

diffstat:

 editors/vim-share/Makefile.common |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 90e4019c3e42 -r 673bae680316 editors/vim-share/Makefile.common
--- a/editors/vim-share/Makefile.common Fri Oct 27 13:45:44 2006 +0000
+++ b/editors/vim-share/Makefile.common Fri Oct 27 16:26:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.67 2006/10/25 07:03:23 martti Exp $
+# $NetBSD: Makefile.common,v 1.68 2006/10/27 16:26:33 schwarz Exp $
 
 .include "../../editors/vim-share/version.mk"
 
@@ -60,6 +60,10 @@
 PATCHDIR=              ${.CURDIR}/../../editors/vim-share/patches
 DISTINFO_FILE?=                ${.CURDIR}/../../editors/vim-share/distinfo
 
+.if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
+BUILDLINK_PASSTHRU_DIRS+=      /Developer/Headers/FlatCarbon
+.endif
+
 .if empty(PKGNAME:Mvim-share*)
 ALTERNATIVES_SRC=      ${.CURDIR:Q}/../../editors/vim-share/ALTERNATIVES
 .else
@@ -82,4 +86,4 @@
 .endif
 
 post-patch:
-       ${FIND} ${WRKDIR} -name '*.orig_dist' -exec ${RM} {} \;
+       ${FIND} ${WRKDIR} -name '*.orig_dist' -exec ${RM} -f {} \;



Home | Main Index | Thread Index | Old Index