From nobody@FreeBSD.org  Mon Feb  9 19:37:36 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D8960106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Feb 2009 19:37:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C77458FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Feb 2009 19:37:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n19JbZaD076594
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 9 Feb 2009 19:37:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n19JbZXm076593;
	Mon, 9 Feb 2009 19:37:35 GMT
	(envelope-from nobody)
Message-Id: <200902091937.n19JbZXm076593@www.freebsd.org>
Date: Mon, 9 Feb 2009 19:37:35 GMT
From: Alex Keda <admin@lissyara.su>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bug when installing sysutils/klaptopdaemon
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131538
>Category:       ports
>Synopsis:       bug when installing sysutils/klaptopdaemon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 09 19:40:01 UTC 2009
>Closed-Date:    Sat Apr 25 20:43:56 UTC 2009
>Last-Modified:  Sat Apr 25 20:50:01 UTC 2009
>Originator:     Alex Keda
>Release:        8.0-CURRENT
>Organization:
USSR
>Environment:
HP# uname -a
FreeBSD HP.lissyara.su 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Feb  9 00:54:17 MSK 2009     root@HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64
HP#    
>Description:
HP# make install clean
===>  kdeutils-klaptopdaemon-3.5.10 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/sysutils/klaptopdaemon.
HP#

but, if I type
make config
and set 
[X] ACPI  Contributed ACPI support patch
all - OK.

This is wrong. If you do not know of the existence of this option - you cannot compile it.
>How-To-Repeat:
HP# pwd
/usr/ports/sysutils/klaptopdaemon

HP# make install clean
===>  kdeutils-klaptopdaemon-3.5.10 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/sysutils/klaptopdaemon.
HP#
>Fix:
delete from Makefile options
ONLY_FOR_ARCHS= i386

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 9 19:40:12 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131538 

From: Max Brazhnikov <makc@issp.ac.ru>
To: bug-followup@freebsd.org, admin@lissyara.su
Cc:  
Subject: Re: ports/131538: bug when installing sysutils/klaptopdaemon
Date: Sun, 19 Apr 2009 18:22:52 +0400

 --Boundary-00=_9Oz6JaPyDVDgs+U
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Does this patch resolve problem for you?
 
 --Boundary-00=_9Oz6JaPyDVDgs+U
 Content-Type: text/x-patch;
   charset="UTF-8";
   name="klaptopdaemon.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="klaptopdaemon.patch"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/sysutils/klaptopdaemon/Makefile,v
 retrieving revision 1.26
 diff -u -r1.26 Makefile
 --- Makefile	31 Jan 2009 12:07:06 -0000	1.26
 +++ Makefile	19 Apr 2009 14:16:04 -0000
 @@ -18,25 +18,29 @@
  MAINTAINER=	kde@FreeBSD.org
  COMMENT=	APM monitor for KDE
  
 -CONFLICTS=	kdeutils-3.1.* kdeutils-3.2.[0-3]
 -
 -OPTIONS=	ACPI "Contributed ACPI support patch" off
 +OPTIONS=	#no options for amd64
  
  USE_KDELIBS_VER=3
 -PREFIX=		${KDE_PREFIX}
  
  ONLY_FOR_ARCHS=	i386
  USE_XORG=	xtst
  USE_BZIP2=	yes
 -USE_AUTOTOOLS=  libtool:15
 +USE_AUTOTOOLS=	libtool:15
  USE_GMAKE=	yes
  WRKSRC=		${WRKDIR}/kdeutils-${PORTVERSION}
  
  USE_LDCONFIG=	yes
 -LDCONFIG_DIRS+=	%%PREFIX%%/lib %%PREFIX%%/lib/kde3
  
  .include <bsd.port.pre.mk>
  
 +.if ${ARCH} == "i386"
 +OPTIONS=	ACPI "Contributed ACPI support patch" off
 +.endif
 +
 +.if ${ARCH} == "amd64"
 +WITH_ACPI=	yes
 +.endif
 +
  .if defined(WITH_ACPI)
  EXTRA_PATCHES+=	${PATCHDIR}/extrapatch-acpi-support
  ONLY_FOR_ARCHS+=amd64
 
 --Boundary-00=_9Oz6JaPyDVDgs+U--

From: Alex Keda <admin@lissyara.su>
To: bug-followup@FreeBSD.org, admin@lissyara.su, 
 Max Brazhnikov <makc@issp.ac.ru>
Cc:  
Subject: Re: ports/131538: bug when installing sysutils/klaptopdaemon
Date: Sun, 19 Apr 2009 20:12:29 +0400

 Yes, it's good.
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Sat Apr 25 20:43:56 UTC 2009 
State-Changed-Why:  
Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131538 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/131538: commit references a PR
Date: Sat, 25 Apr 2009 20:43:32 +0000 (UTC)

 makc        2009-04-25 20:43:19 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/klaptopdaemon Makefile 
   Log:
   Fix options handling [1].
   Minor cleanups.
   
   PR:             ports/131538 [1]
   Reported by:    Alex Keda <admin at lissyara.su>
   
   Revision  Changes    Path
   1.27      +10 -6     ports/sysutils/klaptopdaemon/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
