Print this page
1681 support for BUILD64=# no longer works

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2014 Andrew Stormont.
 #
 
 set name=pkg.fmri value=pkg:/diagnostic/powertop@$(PKGVERS)
 set name=pkg.description value="PowerTOP tool"
 set name=pkg.summary value="PowerTOP tool"

@@ -30,14 +31,14 @@
     value="org.opensolaris.category.2008:Applications/System Utilities"
 set name=variant.arch value=$(ARCH)
 dir path=usr group=sys
 dir path=usr/bin
 $(i386_ONLY)dir path=usr/bin/$(ARCH32)
-dir path=usr/bin/$(ARCH64)
+$(BUILD64)dir path=usr/bin/$(ARCH64)
 dir path=usr/share/man/man1m
 $(i386_ONLY)file path=usr/bin/$(ARCH32)/powertop mode=0555
-file path=usr/bin/$(ARCH64)/powertop mode=0555
+$(BUILD64)file path=usr/bin/$(ARCH64)/powertop mode=0555
 file path=usr/share/man/man1m/powertop.1m
 hardlink path=usr/bin/powertop target=../../usr/lib/isaexec
 legacy pkg=SUNWpowertop desc="PowerTOP tool" name="PowerTOP tool"
 license usr/src/cmd/powertop/common/COPYING \
     license=usr/src/cmd/powertop/common/COPYING