| @@ -1,56 +1,57 @@ | | | @@ -1,56 +1,57 @@ |
1 | # $NetBSD: Makefile,v 1.80 2015/07/10 18:48:22 dholland Exp $ | | 1 | # $NetBSD: Makefile,v 1.81 2015/07/22 04:54:23 dholland Exp $ |
2 | | | 2 | |
3 | DISTNAME= tcl${TCL_VERSION}-src | | 3 | DISTNAME= tcl${TCL_VERSION}-src |
4 | PKGNAME= tcl-${TCL_VERSION} | | 4 | PKGNAME= tcl-${TCL_VERSION} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= lang | | 6 | CATEGORIES= lang |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.tcl.tk/ | | 10 | HOMEPAGE= http://www.tcl.tk/ |
11 | COMMENT= Tool Command Language, a dynamic language | | 11 | COMMENT= Tool Command Language, a dynamic language |
12 | LICENSE= 2-clause-bsd | | 12 | LICENSE= 2-clause-bsd |
13 | | | 13 | |
14 | .include "../../lang/tcl/Makefile.version" | | 14 | .include "../../lang/tcl/Makefile.version" |
15 | | | 15 | |
16 | WRKSRC= ${WRKDIR}/tcl${TCL_VERSION} | | 16 | WRKSRC= ${WRKDIR}/tcl${TCL_VERSION} |
17 | | | 17 | |
18 | USE_GCC_RUNTIME= yes | | 18 | USE_GCC_RUNTIME= yes |
19 | | | 19 | |
20 | GNU_CONFIGURE= yes | | 20 | GNU_CONFIGURE= yes |
21 | CONFIGURE_DIRS= unix | | 21 | CONFIGURE_DIRS= unix |
22 | BUILD_DIRS= ${CONFIGURE_DIRS} | | 22 | BUILD_DIRS= ${CONFIGURE_DIRS} |
23 | INSTALL_TARGET= install | | 23 | INSTALL_TARGET= install |
24 | | | 24 | |
25 | PKGCONFIG_OVERRIDE+= unix/tcl.pc.in | | 25 | PKGCONFIG_OVERRIDE+= unix/tcl.pc.in |
26 | | | 26 | |
27 | CHECK_PORTABILITY_SKIP= win/configure | | 27 | CHECK_PORTABILITY_SKIP= win/configure |
28 | | | 28 | |
29 | # The test target gives better results when not run as root. | | 29 | # The test target gives better results when not run as root. |
30 | TEST_TARGET= test | | 30 | TEST_TARGET= test |
31 | | | 31 | |
32 | .include "options.mk" | | 32 | .include "options.mk" |
33 | | | 33 | |
34 | # This is needed for SGI and maybe sun (according to tcl developers) | | 34 | # This is needed for SGI and maybe sun (according to tcl developers) |
35 | .if defined(ABI) && ${ABI} == "64" | | 35 | .if defined(ABI) && ${ABI} == "64" |
36 | CONFIGURE_ARGS+= --enable-64bit | | 36 | CONFIGURE_ARGS+= --enable-64bit |
37 | .endif | | 37 | .endif |
38 | | | 38 | |
39 | .if ${OPSYS} == "NetBSD" | | 39 | .if ${OPSYS} == "NetBSD" |
40 | CONFIGURE_ARGS+= ac_cv_func_gethostbyname_r=no | | 40 | CONFIGURE_ARGS+= ac_cv_func_gethostbyname_r=no |
41 | .endif | | 41 | .endif |
42 | | | 42 | |
43 | SUBST_CLASSES+= tcl-config | | 43 | SUBST_CLASSES+= tcl-config |
44 | SUBST_STAGE.tcl-config= post-build | | 44 | SUBST_STAGE.tcl-config= post-build |
45 | SUBST_FILES.tcl-config= unix/tclConfig.sh | | 45 | SUBST_FILES.tcl-config= unix/tclConfig.sh |
46 | SUBST_SED.tcl-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|" | | 46 | SUBST_SED.tcl-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|" |
47 | SUBST_SED.tcl-config+= -e "s|${WRKSRC}|${PREFIX}/include/tcl|" | | 47 | SUBST_SED.tcl-config+= -e "s|${WRKSRC}|${PREFIX}/include/tcl|" |
48 | | | 48 | |
49 | PLIST_SUBST+= SONUM=${TCL_SONUM} | | 49 | PLIST_SUBST+= SONUM=${TCL_SONUM} |
50 | PLIST_SUBST+= BASEVER=${TCL_BASEVER} | | 50 | PLIST_SUBST+= BASEVER=${TCL_BASEVER} |
51 | | | 51 | |
52 | CONFIGURE_ARGS+= --with-system-sqlite | | 52 | CONFIGURE_ARGS+= --with-system-sqlite |
53 | | | 53 | |
| | | 54 | BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.8.3 |
54 | .include "../../databases/sqlite3/buildlink3.mk" | | 55 | .include "../../databases/sqlite3/buildlink3.mk" |
55 | .include "../../devel/zlib/buildlink3.mk" | | 56 | .include "../../devel/zlib/buildlink3.mk" |
56 | .include "../../mk/bsd.pkg.mk" | | 57 | .include "../../mk/bsd.pkg.mk" |