Index: build/makearch.info ================================================================== --- build/makearch.info +++ build/makearch.info @@ -14,11 +14,11 @@ # each time a "makearch" is done. # # If @@SVNLCR@@ is used anywhere in this version number, it will be # replaced with the highest last-changed-rev from the output of # svn info -R (or 0) -VERS="0.9.12" +VERS="" # Space sperated list of documents, if they exist, they will be # prefixed with the contents of the DOC_HDR file and substitution # will occur: # @@UTIL@@ becomes the utility name ${UTIL} @@ -27,11 +27,11 @@ DOCS="README" DOC_HDR="HEADER" # These files follow the same convention as DOCS, but don't have the header # tacked onto them. -UPDATE_VARS="configure.ac" +UPDATE_VARS="" # This script is executed immediately after copying the files # to a temp directory to attempt to compile BEFORE="build/pre.sh" Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,7 +1,7 @@ dnl Define ourselves -AC_INIT(tclpkcs11, @@VERS@@) +AC_INIT(tclpkcs11, 0.9.13) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL Index: pkgIndex.tcl.in ================================================================== --- pkgIndex.tcl.in +++ pkgIndex.tcl.in @@ -1,1 +1,9 @@ -package ifneeded pki::pkcs11 @PACKAGE_VERSION@ [list load [file join $dir tclpkcs11.@SHOBJEXT@] Tclpkcs11] +package ifneeded pki::pkcs11 @PACKAGE_VERSION@ [list apply {{dir} { + if {{@TCLEXT_BUILD@} eq "shared"} { + set toLoad [file join $dir @EXTENSION_TARGET@] + } else { + set toLoad "" + } + + load $toLoad Tclpkcs11 +}} $dir]