Cannot build security/nss on 9.0-RELEASE-p3

David Demelier demelier.david at gmail.com
Mon Oct 28 20:04:30 UTC 2013


On 28.10.2013 01:33, Jay F Shachter wrote:
> I cannot build, or cannot figure out how to build, security/nss on
> 9.0-RELEASE-p3.  Behold:
> 
> 
> [root at norman /usr/ports/security/nss]# uname -a
> FreeBSD norman 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> [root at norman /usr/ports/security/nss]# make install clean
> ===>  nss-3.15.2 improper use of USE_PERL5.
> *** Error code 1
> 

Can you please update your ports tree? Maybe this has been fixed.

> Stop in /usr/ports/security/nss.
> [root at norman /usr/ports/security/nss]# gmake -v
> GNU Make 3.82
> Built for i386-portbld-freebsd9.0
> Copyright (C) 2010  Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> [root at norman /usr/ports/security/nss]# gmake install clean
> Makefile:42: *** missing separator.  Stop.

The ports tree only works with BSD style makefiles, don't use gmake.

> [root at norman /usr/ports/security/nss]# sed -n 42,47p Makefile
> .if !defined(WITH_DEBUG)
> MAKE_ENV+=	BUILD_OPT=1
> BINS=		${DIST}/${OPSYS}${OSREL}_OPT.OBJ
> .else
> BINS=		${DIST}/${OPSYS}${OSREL}_DBG.OBJ
> .endif
> 
> 

Cheers,



More information about the freebsd-questions mailing list