[kde-freebsd] ports/131538: bug when installing sysutils/klaptopdaemon

Max Brazhnikov makc at issp.ac.ru
Sun Apr 19 16:30:03 CEST 2009


The following reply was made to PR ports/131538; it has been noted by GNATS.

From: Max Brazhnikov <makc at issp.ac.ru>
To: bug-followup at freebsd.org, admin at 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 at 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--


More information about the kde-freebsd mailing list