From owner-freebsd-ports Sat Feb 23 3:20:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E47E37B416 for ; Sat, 23 Feb 2002 03:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1NBK1C58425; Sat, 23 Feb 2002 03:20:01 -0800 (PST) (envelope-from gnats) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by hub.freebsd.org (Postfix) with ESMTP id 7FE5F37B400 for ; Sat, 23 Feb 2002 03:14:36 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout10.sul.t-online.com with smtp id 16ea8R-0006LN-04; Sat, 23 Feb 2002 12:14:35 +0100 Received: from spirit.corecode.ath.cx (320050403952-0001@[217.224.175.39]) by fmrl02.sul.t-online.com with esmtp id 16ea8N-0OHWlcC; Sat, 23 Feb 2002 12:14:31 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.corecode.ath.cx (8.11.6/8.11.6) with ESMTP id g1NBEUe87753 for ; Sat, 23 Feb 2002 12:14:30 +0100 (CET) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g1NBETp73316; Sat, 23 Feb 2002 12:14:29 +0100 (CET) (envelope-from corecode) Message-Id: <200202231114.g1NBETp73316@elevation.zuhause.stoert.net> Date: Sat, 23 Feb 2002 12:14:29 +0100 (CET) From: "Simon 'corecode' Schubert" Reply-To: "Simon 'corecode' Schubert" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35236: gdm doesn't set IS_INTERACTIVE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35236 >Category: ports >Synopsis: gdm doesn't set IS_INTERACTIVE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 23 03:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon 'corecode' Schubert >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD elevation.zuhause.stoert.net 4.5-STABLE FreeBSD 4.5-STABLE #6: Sat Feb 9 22:49:14 CET 2002 corecode@elevation.zuhause.stoert.net:/usr/obj/i386/k7/usr/src/sys/ELEVATION i386 ports cvsupped every day 02:00 CET (-0100) >Description: the x11/gdm Makefile doesn't set IS_INTERACTIVE properly. this leads to a halt in non-attended port building. note the comment about IS_INTERACTIVE in : # IS_INTERACTIVE - Set this if your port needs to interact with the user # during any step in a package build. User can then decide # to skip this port by setting ${BATCH}, or compiling only # the interactive ports by setting ${INTERACTIVE}. or, well, the user can check for this variable and decide upon this. >How-To-Repeat: cd /usr/ports/x11/gdm test \! `make -V IS_INTERACTIVE` && make >Fix: something like this: --- Makefile.orig Sat Feb 23 12:02:45 2002 +++ Makefile Sat Feb 23 12:05:01 2002 @@ -24,8 +24,12 @@ GDMDIR?= ${PREFIX}/etc/gdm -pre-fetch: .if !defined(BATCH) && !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + +pre-fetch: +.if defined(IS_INTERACTIVE) ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message