2013-03-18 16:30:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2013/03/18 20:30:31 landry Exp $
|
2004-01-29 16:57:53 -05:00
|
|
|
|
2010-03-30 07:47:33 -04:00
|
|
|
ONLY_FOR_ARCHS= alpha amd64 arm i386 mips64 mips64el powerpc sparc sparc64 hppa
|
2012-12-29 14:58:22 -05:00
|
|
|
SHARED_ONLY = Yes
|
2004-01-29 16:57:53 -05:00
|
|
|
|
2012-11-12 15:39:09 -05:00
|
|
|
COMMENT = Netscape Portable Runtime
|
2004-01-29 16:57:53 -05:00
|
|
|
|
2013-03-18 16:30:31 -04:00
|
|
|
VER= 4.9.5
|
2004-01-29 16:57:53 -05:00
|
|
|
DISTNAME= nspr-${VER}
|
2006-11-06 09:35:45 -05:00
|
|
|
|
2012-11-12 15:39:09 -05:00
|
|
|
SO_VERSION= 22.2
|
2006-11-06 09:35:45 -05:00
|
|
|
.for _lib in nspr4 plc4 plds4
|
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
|
|
.endfor
|
2006-01-07 14:45:35 -05:00
|
|
|
|
2004-01-29 16:57:53 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html
|
|
|
|
|
2011-10-03 13:54:23 -04:00
|
|
|
MAINTAINER= Landry Breuil <landry@openbsd.org>
|
2004-01-29 16:57:53 -05:00
|
|
|
|
2012-11-12 15:39:09 -05:00
|
|
|
WANTLIB= c pthread
|
2006-11-15 12:42:24 -05:00
|
|
|
|
2004-01-29 16:57:53 -05:00
|
|
|
# MPL - Mozilla Public License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2006-11-06 09:35:45 -05:00
|
|
|
MASTER_SITES= http://ftp.eu.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/ \
|
|
|
|
http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/
|
2004-01-29 16:57:53 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2004-10-25 05:02:53 -04:00
|
|
|
AUTOCONF_VERSION= 2.13
|
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2004-01-29 16:57:53 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-debug \
|
|
|
|
--with-pthreads
|
|
|
|
|
2006-11-06 09:35:45 -05:00
|
|
|
MAKE_ENV= SO_VERSION="${SO_VERSION}"
|
|
|
|
CONFIGURE_ENV= ${MAKE_ENV}
|
2006-01-07 14:45:35 -05:00
|
|
|
|
2004-10-25 05:02:53 -04:00
|
|
|
WRKSRC= ${WRKDIST}/mozilla/nsprpub
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
|
2004-01-29 16:57:53 -05:00
|
|
|
|
2013-03-11 06:50:00 -04:00
|
|
|
do-test:
|
2006-11-07 11:22:05 -05:00
|
|
|
${MAKE_PROGRAM} -C ${WRKSRC}/pr/tests
|
|
|
|
${MAKE_PROGRAM} -C ${WRKSRC}/lib/tests
|
2007-03-01 17:37:48 -05:00
|
|
|
@cd ${WRKSRC}/pr/tests && ulimit -Sn 192 && env TZ=gmt \
|
2008-07-24 20:42:33 -04:00
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib /bin/ksh runtests.sh
|
2007-03-01 17:37:48 -05:00
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/string
|
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/base64t
|
2006-11-07 11:22:05 -05:00
|
|
|
|
2004-01-29 16:57:53 -05:00
|
|
|
.include <bsd.port.mk>
|