summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
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 {} \;