| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.42 2011/10/03 12:52:40 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2011/11/12 12:56:27 tnn Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include "../../devel/xulrunner/dist.mk" | | 4 | .include "../../devel/xulrunner/dist.mk" |
5 | PKGNAME= nspr-${NSPR_RELEASE}.3${MOZ_BRANCH_MINOR} | | 5 | PKGNAME= nspr-${NSPR_RELEASE}.3${MOZ_BRANCH_MINOR} |
6 | NSPR_RELEASE= 4.8.9 | | 6 | NSPR_RELEASE= 4.8.9 |
7 | CATEGORIES= devel | | 7 | CATEGORIES= devel |
8 | | | 8 | |
9 | MAINTAINER= tnn@NetBSD.org | | 9 | MAINTAINER= tnn@NetBSD.org |
10 | HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html | | 10 | HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html |
11 | COMMENT= Platform-neutral API for system level and libc like functions | | 11 | COMMENT= Platform-neutral API for system level and libc like functions |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | | 14 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh |
| @@ -61,27 +61,27 @@ PLIST.sun4u_32= yes | | | @@ -61,27 +61,27 @@ PLIST.sun4u_32= yes |
61 | | | 61 | |
62 | .if ${OPSYS} == "Linux" | | 62 | .if ${OPSYS} == "Linux" |
63 | . if defined(ABI) && ${ABI} == "64" | | 63 | . if defined(ABI) && ${ABI} == "64" |
64 | CONFIGURE_ARGS+= --enable-64bit | | 64 | CONFIGURE_ARGS+= --enable-64bit |
65 | . endif | | 65 | . endif |
66 | .endif | | 66 | .endif |
67 | | | 67 | |
68 | .if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon) | | 68 | .if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon) |
69 | BUILDLINK_PASSTHRU_DIRS+= Developer/Headers/FlatCarbon | | 69 | BUILDLINK_PASSTHRU_DIRS+= Developer/Headers/FlatCarbon |
70 | .endif | | 70 | .endif |
71 | | | 71 | |
72 | pre-configure: | | 72 | pre-configure: |
73 | # sanity check: make sure the nspr release is what we think it is. | | 73 | # sanity check: make sure the nspr release is what we think it is. |
74 | @set -e; if [ '"${NSPR_RELEASE}' != \ | | 74 | @set -e; if [ '"${NSPR_RELEASE}"' != \ |
75 | "`${AWK} '/PR_VERSION/ {print $$3}' < \ | | 75 | "`${AWK} '/PR_VERSION/ {print $$3}' < \ |
76 | ${WRKSRC}/nsprpub/pr/include/prinit.h`" ]; then \ | | 76 | ${WRKSRC}/nsprpub/pr/include/prinit.h`" ]; then \ |
77 | ${ECHO} "package is out of date"; \ | | 77 | ${ECHO} "package is out of date"; \ |
78 | exit 1; \ | | 78 | exit 1; \ |
79 | fi | | 79 | fi |
80 | cd ${WRKSRC}/nsprpub && autoconf | | 80 | cd ${WRKSRC}/nsprpub && autoconf |
81 | | | 81 | |
82 | post-build: | | 82 | post-build: |
83 | set -e; ( \ | | 83 | set -e; ( \ |
84 | ${ECHO} "Name: NSPR"; \ | | 84 | ${ECHO} "Name: NSPR"; \ |
85 | ${ECHO} "Description: The Netscape Portable Runtime"; \ | | 85 | ${ECHO} "Description: The Netscape Portable Runtime"; \ |
86 | ${ECHO} "Version: ${NSPR_RELEASE}"; \ | | 86 | ${ECHO} "Version: ${NSPR_RELEASE}"; \ |
87 | ${ECHO} "Cflags: -I${PREFIX}/include/nspr"; \ | | 87 | ${ECHO} "Cflags: -I${PREFIX}/include/nspr"; \ |