From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 05:13:19 2005 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 A6B3916A4CE; Tue, 12 Apr 2005 05:13:19 +0000 (GMT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E7C43D54; Tue, 12 Apr 2005 05:13:18 +0000 (GMT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])j3C5DAMe097052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2005 07:13:10 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.13.3/8.13.3/Submit) id j3C5D90B097051; Tue, 12 Apr 2005 07:13:09 +0200 (CEST) (envelope-from hmo) Date: Tue, 12 Apr 2005 07:13:09 +0200 (CEST) Message-Id: <200504120513.j3C5D90B097051@sep.oldach.net> To: FreeBSD-gnats-submit@freebsd.org From: Helge Oldach X-send-pr-version: 3.113 X-GNATS-Notify: X-Virus-Scanned: ClamAV 0.83/821/Tue Apr 12 06:18:58 2005 on sep.oldach.net X-Virus-Status: Clean cc: ports@freebsd.org Subject: ports/x11/xlockmore Makefile broken [patch] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Helge Oldach List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 05:13:19 -0000 >Submitter-Id: current-users >Originator: Helge Oldach >Organization: >Confidential: no >Synopsis: ports/x11/xlockmore Makefile broken [patch] >Severity: non-critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 4.11-STABLE i386 >Environment: System: FreeBSD localhost 4.11-STABLE FreeBSD 4.11-STABLE #2115: Wed Apr 6 18:33:41 CEST 2005 toor@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: ports/x11/xlockmore fails to build after Makefile 1.91. Trivial patch below. >How-To-Repeat: # cd /usr/ports/x11/xlockmore # make "/usr/ports/x11/xlockmore/Makefile", line 37: Malformed conditional (${ARCH} == "amd64") "/usr/ports/x11/xlockmore/Makefile", line 37: Need an operator "/usr/ports/x11/xlockmore/Makefile", line 39: if-less else "/usr/ports/x11/xlockmore/Makefile", line 39: Need an operator "/usr/ports/x11/xlockmore/Makefile", line 41: if-less endif "/usr/ports/x11/xlockmore/Makefile", line 41: Need an operator make: fatal errors encountered -- cannot continue # >Fix: --- Makefile~ Tue Apr 12 00:11:51 2005 +++ Makefile Tue Apr 12 07:06:58 2005 @@ -34,6 +34,8 @@ USE_XPM= yes MAN1= xlock.1 +.include + .if ${ARCH} == "amd64" WITH_MESAGL= no .else @@ -60,8 +62,6 @@ .endif CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${KRB4LIB} ${MESALIB}" - -.include .if defined(WITH_DISABLE_ALLOW_ROOT) CONFIGURE_ARGS+= --disable-allow-root