summaryrefslogtreecommitdiff
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
commite528783805e18ea8ffdc115db6aec6013866222d (patch)
treec315e052552e33758146f76f7d45c3815e759cc8
parent5268103c48bd3436ee04229228bfb183bb9a089b (diff)
downloadpkgsrc-e528783805e18ea8ffdc115db6aec6013866222d.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
-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 {} \;