lang/python & NO_NIS

Matthieu Michaud matthieu.michaud at epita.info
Sat Apr 8 16:41:44 UTC 2006


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 at epita.info>
EPITA SRS 2007 - Adaptive Hacking



More information about the freebsd-ports mailing list