| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.5 2013/10/18 19:48:48 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.6 2013/10/25 21:46:27 joerg 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 | COMMENT= GIT Tree History Storage Tool (base package) | | 6 | COMMENT= GIT Tree History Storage Tool (base package) |
7 | | | 7 | |
8 | CONFLICTS+= scmgit-base-[0-9]* | | 8 | CONFLICTS+= scmgit-base-[0-9]* |
9 | SUPERSEDES+= scmgit-base-[0-9]* | | 9 | SUPERSEDES+= scmgit-base-[0-9]* |
10 | | | 10 | |
11 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error | | 11 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error |
12 | # for git-send-email | | 12 | # for git-send-email |
13 | DEPENDS+= p5-MIME-Base64>=3.13:../../converters/p5-MIME-Base64 | | 13 | DEPENDS+= p5-MIME-Base64>=3.13:../../converters/p5-MIME-Base64 |
14 | DEPENDS+= p5-Email-Valid>=0.190:../../mail/p5-Email-Valid | | 14 | DEPENDS+= p5-Email-Valid>=0.190:../../mail/p5-Email-Valid |
| @@ -82,26 +82,32 @@ SUBST_VARS.fix-paths= PREFIX | | | @@ -82,26 +82,32 @@ SUBST_VARS.fix-paths= PREFIX |
82 | .include "../../mk/bsd.prefs.mk" | | 82 | .include "../../mk/bsd.prefs.mk" |
83 | | | 83 | |
84 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare" | | 84 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare" |
85 | SUBST_CLASSES+= fix-cd-P | | 85 | SUBST_CLASSES+= fix-cd-P |
86 | SUBST_FILES.fix-cd-P= git-sh-setup.sh | | 86 | SUBST_FILES.fix-cd-P= git-sh-setup.sh |
87 | SUBST_FILES.fix-cd-P+= t/test-lib.sh | | 87 | SUBST_FILES.fix-cd-P+= t/test-lib.sh |
88 | SUBST_MESSAGE.fix-cd-P= Fixing cd arguments. | | 88 | SUBST_MESSAGE.fix-cd-P= Fixing cd arguments. |
89 | SUBST_STAGE.fix-cd-P= pre-build | | 89 | SUBST_STAGE.fix-cd-P= pre-build |
90 | SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" | | 90 | SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" |
91 | .endif | | 91 | .endif |
92 | | | 92 | |
93 | LDFLAGS.SunOS+= -lintl -lnsl | | 93 | LDFLAGS.SunOS+= -lintl -lnsl |
94 | | | 94 | |
| | | 95 | .include "../../mk/compiler.mk" |
| | | 96 | .if !empty(PKGSRC_COMPILER:Mclang) |
| | | 97 | # configure test gets confused by wrappers dropping -R / |
| | | 98 | CONFIGURE_ARGS+= git_cv_ld_dashr=no |
| | | 99 | .endif |
| | | 100 | |
95 | post-install: | | 101 | post-install: |
96 | ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} | | 102 | ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} |
97 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-completion.bash \ | | 103 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-completion.bash \ |
98 | ${DESTDIR}${EGDIR} | | 104 | ${DESTDIR}${EGDIR} |
99 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-prompt.sh \ | | 105 | ${INSTALL_DATA} ${WRKSRC}/contrib/completion/git-prompt.sh \ |
100 | ${DESTDIR}${EGDIR} | | 106 | ${DESTDIR}${EGDIR} |
101 | | | 107 | |
102 | .include "options.mk" | | 108 | .include "options.mk" |
103 | | | 109 | |
104 | .include "../../converters/libiconv/buildlink3.mk" | | 110 | .include "../../converters/libiconv/buildlink3.mk" |
105 | .include "../../devel/zlib/buildlink3.mk" | | 111 | .include "../../devel/zlib/buildlink3.mk" |
106 | .include "../../lang/perl5/module.mk" | | 112 | .include "../../lang/perl5/module.mk" |
107 | .include "../../security/openssl/buildlink3.mk" | | 113 | .include "../../security/openssl/buildlink3.mk" |