# HG changeset patch
# User Vladimir Marek <Vladimir.Marek at Sun.COM>
# Date 1221994157 -7200
# Node ID 46027cab9c12d81de09bf41e0cb4727b53d5034b
# Parent  24f14cf701ee7b59048d0cfb6206275d8626cf99
Example: bind - add $(TARBALL) support
Bind does not yet use $(TARBALL). But the only thing you have to do is to add
"TARBALL = ...." line to the Makefile.sfw

Please note that we also removed call to tar, this is now handled by 
Makefile.targ

diff --git a/usr/src/cmd/bind/Makefile.sfw b/usr/src/cmd/bind/Makefile.sfw
--- a/usr/src/cmd/bind/Makefile.sfw
+++ b/usr/src/cmd/bind/Makefile.sfw
@@ -22,10 +22,11 @@
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#pragma ident  "@(#)Makefile.sfw       1.15    08/08/11 SMI"
+#pragma ident  "@(#)Makefile.sfw       1.16    08/09/19 SMI"
 #
 
 VER=bind-9.3.5-P2
+TARBALL =      $(VER).tar.gz
 
 include ../Makefile.cmd
 
@@ -74,9 +75,7 @@
 # are needed for a release they should be incorporated or obsoleted in
 # the next ISC release.
 #
-$(VER)/configure: $(VER).tar.gz $(FRC)
-       gzip -dc $(VER).tar.gz | tar xopf -
-       $(TOUCH) $(VER)/configure
+$(VER)/configure: $(VER)/.patched $(FRC)
 
 clean:
        -/usr/bin/rm -rf $(VER)
diff --git a/usr/src/cmd/bind/bind-9.3.5-P2.tar.gz 
b/usr/src/cmd/bind/bind-9.3.5-P2.tar.gz
deleted file mode 100644
Binary file usr/src/cmd/bind/bind-9.3.5-P2.tar.gz has changed
diff --git a/usr/src/cmd/bind/bind-9.3.5-P2.tar.gz.sha1sum 
b/usr/src/cmd/bind/bind-9.3.5-P2.tar.gz.sha1sum
new file mode 100644
--- /dev/null
+++ b/usr/src/cmd/bind/bind-9.3.5-P2.tar.gz.sha1sum
@@ -0,0 +1,1 @@
+6448ec3c943a284a0d23433e6ad29b4ca6470185

Reply via email to