From owner-freebsd-ports@FreeBSD.ORG Sat Mar 27 09:39:58 2004 Return-Path: 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 0389016A4CE; Sat, 27 Mar 2004 09:39:58 -0800 (PST) Received: from vcksi4.nw.wakwak.com (vcksi4.nw.wakwak.com [211.132.129.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 821B443D39; Sat, 27 Mar 2004 09:39:57 -0800 (PST) (envelope-from sada@FreeBSD.org) Received: from bf.wakwak.com (bf.wakwak.com [211.132.128.101]) by vcksi4.nw.wakwak.com (Postfix) with ESMTP id 99EAD3FE14; Sun, 28 Mar 2004 02:39:56 +0900 (JST) Received: from polus.lan (sada.as.wakwak.ne.jp [61.115.78.20]) i2RHdrgi078919; Sun, 28 Mar 2004 02:39:53 +0900 (JST) (envelope-from sada@FreeBSD.org) Date: Sun, 28 Mar 2004 02:39:52 +0900 From: SADA Kenji To: ports@FreeBSD.org Message-Id: <20040328023952.06ffa2ce.sada@FreeBSD.org> Organization: Private X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: sada@FreeBSD.org Subject: treating OPTIONS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 17:39:58 -0000 Please see the PR 63930 it gets portlint fatal error that OPTIONS appears after the line ".include ". My plan is pre-defined LOCALBASE, like: --- PORTNAME= libhome PORTVERSION= 0.7.1 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pll MAINTAINER= kiwi@oav.net COMMENT= Library providing a getpwname() emulation LOCALBASE?= ${DESTDIR}/usr/local .if exists(${LOCALBASE}/lib/libldap.so) WITH_LDAP= yes OPTIONS+= LDAP "Support for LDAP queries" on .else OPTIONS+= LDAP "Support for LDAP queries" off .endif .include .include --- This gets one portlint warning instead of many fatal errors. Other options?