summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-27 16:26:33 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-27 16:26:33 +0000
commit36421175dd6798784903df9bcac5e1d3b5701418 (patch)
treec315e052552e33758146f76f7d45c3815e759cc8 /editors
parentd46f71a25438b4d4d527bdb76506ab5af72aa78d (diff)
downloadpkgsrc-36421175dd6798784903df9bcac5e1d3b5701418.tar.gz
- 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 (limited to 'editors')
-rw-r--r--editors/vim-share/Makefile.common8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common
index 235c241ebd0..fa320c735fa 100644
--- a/editors/vim-share/Makefile.common
+++ b/editors/vim-share/Makefile.common
@@ -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 @@ PATCH_DIST_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
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 @@ CONFIGURE_ARGS+= --enable-rubyinterp
.endif
post-patch:
- ${FIND} ${WRKDIR} -name '*.orig_dist' -exec ${RM} {} \;
+ ${FIND} ${WRKDIR} -name '*.orig_dist' -exec ${RM} -f {} \;