48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.54 2014/09/24 18:43:39 landry Exp $
|
|
|
|
ONLY_FOR_ARCHS= alpha amd64 arm i386 mips64 mips64el powerpc sparc sparc64 hppa
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = Netscape Portable Runtime
|
|
|
|
VER= 4.10.7
|
|
DISTNAME= nspr-${VER}
|
|
|
|
SO_VERSION= 23.1
|
|
.for _lib in nspr4 plc4 plds4
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
.endfor
|
|
|
|
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.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/
|
|
|
|
USE_GMAKE= Yes
|
|
AUTOCONF_VERSION= 2.69
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
|
|
MAKE_ENV= SO_VERSION="${SO_VERSION}"
|
|
CONFIGURE_ENV= ${MAKE_ENV}
|
|
|
|
WRKSRC= ${WRKDIST}/nspr
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
|
|
|
|
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>
|