From owner-freebsd-ports@FreeBSD.ORG Mon Feb 9 10:24:18 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 D291816A4CE; Mon, 9 Feb 2004 10:24:18 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BA8E43D3F; Mon, 9 Feb 2004 10:24:18 -0800 (PST) (envelope-from A.J.Caines@halplant.com) Received: from mail.halplant.com ([68.100.162.49]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040209182418.YWRV2192.lakemtao03.cox.net@mail.halplant.com>; Mon, 9 Feb 2004 13:24:18 -0500 Received: by mail.halplant.com (Postfix, from userid 1001) id CB4421D; Mon, 9 Feb 2004 13:24:16 -0500 (EST) Date: Mon, 9 Feb 2004 13:24:16 -0500 From: Andrew J Caines To: freebsd-ports@freebsd.org Message-ID: <20040209182416.GC2860@hal9000.halplant.com> Mail-Followup-To: freebsd-ports@freebsd.org, Norikatsu Shigemura References: <4027A81D.6000808@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4027A81D.6000808@comcast.net> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.9-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 X-ICQ: 283813972 Importance: Normal User-Agent: Mutt/1.5.6i cc: Norikatsu Shigemura Subject: Re: www/linux-plugginwrapper broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 18:24:18 -0000 Keith, > "Makefile", line 59: warning: String comparison operator should be > either == or != > "Makefile", line 59: Malformed conditional ((${OSVERSION} < 490102 || > ${OSVERSION} >= 500000 && ${OSVERSION} < 501107) && > !defined(PACKAGE_BUILDING)) > "Makefile", line 73: if-less endif > "Makefile", line 73: Need an operator > make: fatal errors encountered -- cannot continue I get the same result for the 20040208 version. > Would really appreciate if someone could fix this. Would greatly like to > use this port. The maintainer has been responsive before, so I suspect he'll have it fixed soon. Until then, I offer my weak make-fu fix which gets the build going (though I've not tested it any further): ----8<---- --- Makefile.old Mon Feb 9 13:17:24 2004 +++ Makefile Mon Feb 9 13:17:18 2004 @@ -56,7 +56,8 @@ CFLAGS+= -DDEBUG=1 .endif -.if (${OSVERSION} < 490102 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501107) && !defined(PACKAGE_BUILDING) +.if ${OSVERSION} < 490102 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501107 +.if !defined(PACKAGE_BUILDING) pre-everything:: @if ! strings ${RTLD} | ${GREP} libmap.conf > /dev/null 2>&1; then \ ${ECHO_MSG} 'Please enable libmap.conf(5) feature for rtld(1).'; \ @@ -70,6 +71,7 @@ ${ECHO_MSG} ' Please see /usr/src/libexec/rtld-elf/Makefile.'; \ ${FALSE}; \ fi +.endif .endif post-build: ----8<---- This looks like a case of an int and string conparison in one ".if" causing the problem, so I changed it to two ".if"s. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |