| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.38 2012/01/20 15:43:38 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.39 2012/02/17 13:54:02 hans Exp $ |
2 | | | 2 | |
3 | .include "../../devel/scmgit/Makefile.common" | | 3 | .include "../../devel/scmgit/Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= scmgit-base-${GIT_VERSION} | | 5 | PKGNAME= scmgit-base-${GIT_VERSION} |
6 | COMMENT= GIT Tree History Storage Tool (base package) | | 6 | COMMENT= GIT Tree History Storage Tool (base package) |
7 | | | 7 | |
8 | PKG_DESTDIR_SUPPORT= user-destdir | | 8 | PKG_DESTDIR_SUPPORT= user-destdir |
9 | | | 9 | |
10 | CONFLICTS+= git<4.9.5nb1 # misc/git | | 10 | CONFLICTS+= git<4.9.5nb1 # misc/git |
11 | | | 11 | |
12 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error | | 12 | DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error |
13 | | | 13 | |
14 | USE_LANGUAGES= c99 | | 14 | USE_LANGUAGES= c99 |
| @@ -73,22 +73,24 @@ SUBST_STAGE.fix-paths= pre-build | | | @@ -73,22 +73,24 @@ SUBST_STAGE.fix-paths= pre-build |
73 | SUBST_VARS.fix-paths= PREFIX | | 73 | SUBST_VARS.fix-paths= PREFIX |
74 | | | 74 | |
75 | .include "../../mk/bsd.prefs.mk" | | 75 | .include "../../mk/bsd.prefs.mk" |
76 | | | 76 | |
77 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare" | | 77 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare" |
78 | SUBST_CLASSES+= fix-cd-P | | 78 | SUBST_CLASSES+= fix-cd-P |
79 | SUBST_FILES.fix-cd-P= git-sh-setup.sh | | 79 | SUBST_FILES.fix-cd-P= git-sh-setup.sh |
80 | SUBST_FILES.fix-cd-P+= t/test-lib.sh | | 80 | SUBST_FILES.fix-cd-P+= t/test-lib.sh |
81 | SUBST_MESSAGE.fix-cd-P= Fixing cd arguments. | | 81 | SUBST_MESSAGE.fix-cd-P= Fixing cd arguments. |
82 | SUBST_STAGE.fix-cd-P= pre-build | | 82 | SUBST_STAGE.fix-cd-P= pre-build |
83 | SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" | | 83 | SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g" |
84 | .endif | | 84 | .endif |
85 | | | 85 | |
| | | 86 | LDFLAGS.SunOS+= -lintl |
| | | 87 | |
86 | .include "options.mk" | | 88 | .include "options.mk" |
87 | | | 89 | |
88 | .include "../../converters/libiconv/buildlink3.mk" | | 90 | .include "../../converters/libiconv/buildlink3.mk" |
89 | .include "../../devel/zlib/buildlink3.mk" | | 91 | .include "../../devel/zlib/buildlink3.mk" |
90 | .include "../../lang/perl5/module.mk" | | 92 | .include "../../lang/perl5/module.mk" |
91 | .include "../../security/openssl/buildlink3.mk" | | 93 | .include "../../security/openssl/buildlink3.mk" |
92 | .include "../../textproc/expat/buildlink3.mk" | | 94 | .include "../../textproc/expat/buildlink3.mk" |
93 | .include "../../www/curl/buildlink3.mk" | | 95 | .include "../../www/curl/buildlink3.mk" |
94 | .include "../../mk/bsd.pkg.mk" | | 96 | .include "../../mk/bsd.pkg.mk" |