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:/developer/library/profiled-libc@$(PKGVERS)
 set name=pkg.description \
     value="system libraries compiled with profiling for software development performance measurement"

@@ -31,16 +32,16 @@
     value=org.opensolaris.category.2008:Development/System
 set name=variant.arch value=$(ARCH)
 dir path=usr group=sys
 dir path=usr/lib
 dir path=usr/lib/libp
-dir path=usr/lib/libp/$(ARCH64)
+$(BUILD64)dir path=usr/lib/libp/$(ARCH64)
 legacy pkg=SUNWdpl \
     desc="system libraries compiled with profiling for software development performance measurement" \
     name="Developer Profiled Libraries"
 license cr_Sun license=cr_Sun
 license lic_CDDL license=lic_CDDL
-link path=usr/lib/libp/$(ARCH64)/libc.so.1 \
+$(BUILD64)link path=usr/lib/libp/$(ARCH64)/libc.so.1 \
     target=../../../../lib/$(ARCH64)/libc.so.1
 link path=usr/lib/libp/32 target=.
-link path=usr/lib/libp/64 target=$(ARCH64)
+$(BUILD64)link path=usr/lib/libp/64 target=$(ARCH64)
 link path=usr/lib/libp/libc.so.1 target=../../../lib/libc.so.1