aboutsummaryrefslogtreecommitdiff
path: root/devel/nspr/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2011-06-04 22:38:53 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2011-06-04 22:38:53 +0000
commit93d721ee8e715fe68420cd9229f546b88c0d4eb4 (patch)
treeb0a5c2e18785f1de80cdd976f923a1f42f0cbc79 /devel/nspr/Makefile
parent16af45bc28554ba3faa24e44a0b647e39e5f1138 (diff)
Notes
Diffstat (limited to 'devel/nspr/Makefile')
-rw-r--r--devel/nspr/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 8b7c62c70a67..af2d6ab1c420 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -8,8 +8,7 @@
PORTNAME= nspr
DISTVERSION= 4.8.7
CATEGORIES= devel
-#MASTER_SITES= LOCAL/ahze
-MASTER_SITES= ${MASTER_SITE_MOZILLA}
+MASTER_SITES= MOZILLA
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src
MAINTAINER= gnome@FreeBSD.org
@@ -34,11 +33,6 @@ LIBS= libnspr4.so.1 libplc4.so.1 libplds4.so.1
post-patch:
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g ; s,echo aout,echo elf,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.if ${OSVERSION} < 601104
- @${REINPLACE_CMD} -e 's|pthread_cond_wait|_pthread_cond_wait|g' \
- ${WRKSRC}/../pr/src/md/unix/pthreads_user.c \
- ${WRKSRC}/../pr/src/pthreads/ptsynch.c
-.endif
do-install:
${MKDIR} ${PREFIX}/include/nspr
@@ -62,7 +56,7 @@ do-install:
.endfor
prtests:
- env PTHREAD_LIBS="${PTHREAD_LIBS}" ${GMAKE} -C ${WRKSRC}/pr/tests
+ ${SETENV} PTHREAD_LIBS="${PTHREAD_LIBS}" ${GMAKE} -C ${WRKSRC}/pr/tests
${LN} -sf libmy.so.1 ${WRKSRC}/pr/tests/dll/libmy.so
cd ${WRKSRC}/pr/tests && ../../../pr/tests/runtests.sh