diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-04-25 20:43:19 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-04-25 20:43:19 +0000 |
commit | 6526752ad7ac6c67e384a491612a325a23746a5e (patch) | |
tree | 871b5c9a7911f7a35db064e6db4c69275c9ff0d4 /sysutils/klaptopdaemon | |
parent | 254300622407699e89411bf387873509d8ca8a8a (diff) |
Fix options handling [1].
Minor cleanups.
PR: ports/131538 [1]
Reported by: Alex Keda <admin at lissyara.su>
Notes
Notes:
svn path=/head/; revision=232732
Diffstat (limited to 'sysutils/klaptopdaemon')
-rw-r--r-- | sysutils/klaptopdaemon/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sysutils/klaptopdaemon/Makefile b/sysutils/klaptopdaemon/Makefile index 2458488f76a0..e1914f0543f3 100644 --- a/sysutils/klaptopdaemon/Makefile +++ b/sysutils/klaptopdaemon/Makefile @@ -18,25 +18,29 @@ DIST_SUBDIR= KDE 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 |