summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-10-27 16:26:33 +0000
committerschwarz <schwarz>2006-10-27 16:26:33 +0000
commita6751c1b90740ac89f1307aa203cf37291dd72ae (patch)
treec315e052552e33758146f76f7d45c3815e759cc8 /editors
parent612725fb66ac66bfe1e13770ffeac765e7bbf6c9 (diff)
downloadpkgsrc-a6751c1b90740ac89f1307aa203cf37291dd72ae.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 {} \;