openbsd-ports/devel/nspr/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.47 2013/03/18 20:30:31 landry Exp $
ONLY_FOR_ARCHS= alpha amd64 arm i386 mips64 mips64el powerpc sparc sparc64 hppa
SHARED_ONLY = Yes
COMMENT = Netscape Portable Runtime
VER= 4.9.5
DISTNAME= nspr-${VER}
SO_VERSION= 22.2
.for _lib in nspr4 plc4 plds4
SHARED_LIBS+= ${_lib} ${SO_VERSION}
.endfor
2006-01-07 14:45:35 -05:00
CATEGORIES= devel
HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html
MAINTAINER= Landry Breuil <landry@openbsd.org>
WANTLIB= c pthread
# MPL - Mozilla Public License
PERMIT_PACKAGE_CDROM= Yes
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/
USE_GMAKE= Yes
AUTOCONF_VERSION= 2.13
CONFIGURE_STYLE= autoconf no-autoheader
CONFIGURE_ARGS+= --disable-debug \
--with-pthreads
MAKE_ENV= SO_VERSION="${SO_VERSION}"
CONFIGURE_ENV= ${MAKE_ENV}
2006-01-07 14:45:35 -05:00
WRKSRC= ${WRKDIST}/mozilla/nsprpub
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
2013-03-11 06:50:00 -04:00
do-test:
${MAKE_PROGRAM} -C ${WRKSRC}/pr/tests
${MAKE_PROGRAM} -C ${WRKSRC}/lib/tests
@cd ${WRKSRC}/pr/tests && ulimit -Sn 192 && env TZ=gmt \
LD_LIBRARY_PATH=${WRKSRC}/dist/lib /bin/ksh runtests.sh
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/string
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/base64t
.include <bsd.port.mk>