Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2006 18:41:20 +0200
From:      Matthieu Michaud <matthieu.michaud@epita.info>
To:        ports@freebsd.org
Cc:        perky@FreeBSD.org
Subject:   lang/python & NO_NIS
Message-ID:  <1144514480.637.17.camel@localhost>

next in thread | raw e-mail | index | archive | help
hello list and cc'ed maintainer,

in ports/lang/python/Makefile:40:

.if !exists(/usr/bin/ypcat) # the world with NO_NIS
PLISTCAT=       ${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist
.else
PLISTCAT=       ${CAT} ${PKGDIR}/pkg-plist
.endif

wouldn't it be proper to use .if defined(NO_NIS) as condition ?

in my case, ie having an /usr/bin/ypcat file and NO_NIS defined
in /etc/make.conf, package doesn't build. in addition to that, it
installs a nis_failed.so.

-- 
Matthieu Michaud <matthieu.michaud@epita.info>
EPITA SRS 2007 - Adaptive Hacking




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1144514480.637.17.camel>