| @@ -1,18 +1,19 @@ | | | @@ -1,18 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.70 2019/11/20 18:13:52 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.71 2019/11/26 10:22:17 wiz Exp $ |
2 | | | 2 | |
3 | .include "../../devel/git/Makefile.common" | | 3 | .include "../../devel/git/Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= git-base-${GIT_VERSION} | | 5 | PKGNAME= git-base-${GIT_VERSION} |
| | | 6 | PKGREVISION= 1 |
6 | COMMENT= GIT Tree History Storage Tool (base package) | | 7 | COMMENT= GIT Tree History Storage Tool (base package) |
7 | | | 8 | |
8 | CONFLICTS+= scmgit-base-[0-9]* | | 9 | CONFLICTS+= scmgit-base-[0-9]* |
9 | SUPERSEDES+= scmgit-base-[0-9]* | | 10 | SUPERSEDES+= scmgit-base-[0-9]* |
10 | | | 11 | |
11 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error | | 12 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error |
12 | DEPENDS+= p5-Email-Valid>=0.190:../../mail/p5-Email-Valid | | 13 | DEPENDS+= p5-Email-Valid>=0.190:../../mail/p5-Email-Valid |
13 | DEPENDS+= p5-MailTools>=2.11:../../mail/p5-MailTools | | 14 | DEPENDS+= p5-MailTools>=2.11:../../mail/p5-MailTools |
14 | DEPENDS+= p5-Net-SMTP-SSL>=1.01:../../mail/p5-Net-SMTP-SSL | | 15 | DEPENDS+= p5-Net-SMTP-SSL>=1.01:../../mail/p5-Net-SMTP-SSL |
15 | DEPENDS+= p5-Authen-SASL>=1.0:../../security/p5-Authen-SASL | | 16 | DEPENDS+= p5-Authen-SASL>=1.0:../../security/p5-Authen-SASL |
16 | | | 17 | |
17 | USE_LANGUAGES= c99 | | 18 | USE_LANGUAGES= c99 |
18 | USE_TOOLS+= perl:run sh:run msgfmt | | 19 | USE_TOOLS+= perl:run sh:run msgfmt |
| @@ -84,33 +85,32 @@ SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" | | | @@ -84,33 +85,32 @@ SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" |
84 | | | 85 | |
85 | LDFLAGS.SunOS+= -lintl -lnsl | | 86 | LDFLAGS.SunOS+= -lintl -lnsl |
86 | | | 87 | |
87 | .include "../../mk/compiler.mk" | | 88 | .include "../../mk/compiler.mk" |
88 | .if !empty(PKGSRC_COMPILER:Mclang) | | 89 | .if !empty(PKGSRC_COMPILER:Mclang) |
89 | # configure test gets confused by wrappers dropping -R / | | 90 | # configure test gets confused by wrappers dropping -R / |
90 | CONFIGURE_ARGS+= git_cv_ld_dashr=no | | 91 | CONFIGURE_ARGS+= git_cv_ld_dashr=no |
91 | .endif | | 92 | .endif |
92 | | | 93 | |
93 | # Prefer to install symlinks. | | 94 | # Prefer to install symlinks. |
94 | INSTALL_ENV+= NO_CROSS_DIRECTORY_HARDLINKS=1 | | 95 | INSTALL_ENV+= NO_CROSS_DIRECTORY_HARDLINKS=1 |
95 | INSTALL_ENV+= NO_INSTALL_HARDLINKS=1 | | 96 | INSTALL_ENV+= NO_INSTALL_HARDLINKS=1 |
96 | | | 97 | |
97 | NOT_PAX_MPROTECT_SAFE= bin/git # pcre2 | | | |
98 | | | | |
99 | post-install: | | 98 | post-install: |
100 | ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} | | 99 | ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} |
101 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-completion.bash \ | | 100 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-completion.bash \ |
102 | ${DESTDIR}${EGDIR} | | 101 | ${DESTDIR}${EGDIR} |
103 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-prompt.sh \ | | 102 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-prompt.sh \ |
104 | ${DESTDIR}${EGDIR} | | 103 | ${DESTDIR}${EGDIR} |
105 | | | 104 | |
106 | .include "options.mk" | | 105 | .include "options.mk" |
107 | | | 106 | |
108 | .include "../../converters/libiconv/buildlink3.mk" | | 107 | .include "../../converters/libiconv/buildlink3.mk" |
109 | .include "../../devel/gettext-lib/buildlink3.mk" | | 108 | .include "../../devel/gettext-lib/buildlink3.mk" |
| | | 109 | BUILDLINK_API_DEPENDS.pcre2?= pcre2>=10.34 |
110 | .include "../../devel/pcre2/buildlink3.mk" | | 110 | .include "../../devel/pcre2/buildlink3.mk" |
111 | .include "../../devel/zlib/buildlink3.mk" | | 111 | .include "../../devel/zlib/buildlink3.mk" |
112 | .include "../../lang/perl5/buildlink3.mk" | | 112 | .include "../../lang/perl5/buildlink3.mk" |
113 | .include "../../lang/perl5/vars.mk" | | 113 | .include "../../lang/perl5/vars.mk" |
114 | .include "../../textproc/expat/buildlink3.mk" | | 114 | .include "../../textproc/expat/buildlink3.mk" |
115 | .include "../../www/curl/buildlink3.mk" | | 115 | .include "../../www/curl/buildlink3.mk" |
116 | .include "../../mk/bsd.pkg.mk" | | 116 | .include "../../mk/bsd.pkg.mk" |