Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 12:14:29 +0100 (CET)
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35236: gdm doesn't set IS_INTERACTIVE
Message-ID:  <200202231114.g1NBETp73316@elevation.zuhause.stoert.net>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>:

# 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202231114.g1NBETp73316>