From owner-freebsd-ports@FreeBSD.ORG Sat Apr 8 16:41:44 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16C9716A405 for ; Sat, 8 Apr 2006 16:41:44 +0000 (UTC) (envelope-from matthieu.michaud@epita.info) Received: from marge.cload.net (marge.cload.net [213.41.172.209]) by mx1.FreeBSD.org (Postfix) with SMTP id 20EE043D46 for ; Sat, 8 Apr 2006 16:41:42 +0000 (GMT) (envelope-from matthieu.michaud@epita.info) Received: (qmail 36267 invoked by uid 100); 8 Apr 2006 18:41:46 +0200 Received: from homer.cload.net (HELO moe) (192.168.2.1) by marge.cload.net with SMTP; 8 Apr 2006 18:41:46 +0200 From: Matthieu Michaud To: ports@freebsd.org Content-Type: text/plain Organization: EPITA SRS 2007 - Adaptive Hacking Date: Sat, 08 Apr 2006 18:41:20 +0200 Message-Id: <1144514480.637.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: perky@FreeBSD.org Subject: lang/python & NO_NIS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 16:41:44 -0000 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 EPITA SRS 2007 - Adaptive Hacking