| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.155 2016/11/16 10:38:35 wiz Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.156 2017/01/19 09:54:56 markd Exp $ |
2 | | | 2 | |
3 | # used by editors/vim/Makefile | | 3 | # used by editors/vim/Makefile |
4 | # used by editors/vim-gtk2/Makefile | | 4 | # used by editors/vim-gtk2/Makefile |
5 | # used by editors/vim-lang/Makefile | | 5 | # used by editors/vim-lang/Makefile |
6 | # used by editors/vim-motif/Makefile | | 6 | # used by editors/vim-motif/Makefile |
7 | # used by editors/vim-xaw/Makefile | | 7 | # used by editors/vim-xaw/Makefile |
8 | | | 8 | |
9 | .include "../../editors/vim-share/version.mk" | | 9 | .include "../../editors/vim-share/version.mk" |
10 | | | 10 | |
11 | DISTNAME= vim-${VIM_VERSION}.${VIM_PATCHLEVEL} | | 11 | DISTNAME= vim-${VIM_VERSION}.${VIM_PATCHLEVEL} |
12 | CATEGORIES= editors | | 12 | CATEGORIES= editors |
13 | GITHUB_PROJECT= vim | | 13 | GITHUB_PROJECT= vim |
14 | GITHUB_TAG= v${VIM_VERSION}.${VIM_PATCHLEVEL} | | 14 | GITHUB_TAG= v${VIM_VERSION}.${VIM_PATCHLEVEL} |
| @@ -46,15 +46,20 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME | | | @@ -46,15 +46,20 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME |
46 | PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches | | 46 | PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches |
47 | DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo | | 47 | DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo |
48 | | | 48 | |
49 | .if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon) | | 49 | .if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon) |
50 | BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon | | 50 | BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon |
51 | .endif | | 51 | .endif |
52 | | | 52 | |
53 | .if empty(PKGNAME:Mvim-share*) | | 53 | .if empty(PKGNAME:Mvim-share*) |
54 | ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES | | 54 | ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES |
55 | .else | | 55 | .else |
56 | ALTERNATIVES_SRC= | | 56 | ALTERNATIVES_SRC= |
57 | .endif | | 57 | .endif |
58 | | | 58 | |
| | | 59 | SUBST_CLASSES+= sysconfdir |
| | | 60 | SUBST_FILES.sysconfdir= feature.h |
| | | 61 | SUBST_STAGE.sysconfdir= post-patch |
| | | 62 | SUBST_VARS.sysconfdir= PKG_SYSCONFDIR |
| | | 63 | |
59 | post-patch: | | 64 | post-patch: |
60 | find ${WRKDIR} -name '*.orig_dist' -exec rm -f {} \; | | 65 | find ${WRKDIR} -name '*.orig_dist' -exec rm -f {} \; |