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

@@ -19,27 +19,28 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2014 Andrew Stormont.
 #
 
 set name=pkg.fmri value=pkg:/system/library/libdiskmgt@$(PKGVERS)
 set name=pkg.description value="Software libraries for storage management"
 set name=pkg.summary value="Storage Management APIs"
 set name=info.classification \
     value="org.opensolaris.category.2008:System/Enterprise Management"
 set name=variant.arch value=$(ARCH)
 dir path=usr group=sys
 dir path=usr/lib
-dir path=usr/lib/$(ARCH64)
-file path=usr/lib/$(ARCH64)/libdiskmgt.so.1
-file path=usr/lib/$(ARCH64)/llib-ldiskmgt.ln
+$(BUILD64)dir path=usr/lib/$(ARCH64)
+$(BUILD64)file path=usr/lib/$(ARCH64)/libdiskmgt.so.1
+$(BUILD64)file path=usr/lib/$(ARCH64)/llib-ldiskmgt.ln
 file path=usr/lib/libdiskmgt.so.1
 file path=usr/lib/llib-ldiskmgt
 file path=usr/lib/llib-ldiskmgt.ln
 legacy pkg=SUNWsmapi desc="Software libraries for storage management" \
     name="Storage Management APIs"
 license cr_Sun license=cr_Sun
 license lic_CDDL license=lic_CDDL
-link path=usr/lib/$(ARCH64)/libdiskmgt.so target=./libdiskmgt.so.1
+$(BUILD64)link path=usr/lib/$(ARCH64)/libdiskmgt.so target=./libdiskmgt.so.1
 link path=usr/lib/libdiskmgt.so target=./libdiskmgt.so.1