summaryrefslogtreecommitdiff
path: root/java/jdk15/files/patch-j2se::pkcs11::Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2008-01-14 06:08:08 +0000
committerGreg Lewis <glewis@FreeBSD.org>2008-01-14 06:08:08 +0000
commit920e8b7f80c3ad2677fc592669bbd4624041bcfe (patch)
treebb9bfc684a2b4675241a93d41994e82a67395901 /java/jdk15/files/patch-j2se::pkcs11::Makefile
parentA bandaid for recent cheeseshop -> pypi rename. (diff)
. Install the PKCS#11 JAR and build and install the PKCS#11 native library.
Prompted by: ale, Havard Eidnes <he@uninett.no>
Notes
Notes: svn path=/head/; revision=205625
Diffstat (limited to 'java/jdk15/files/patch-j2se::pkcs11::Makefile')
-rw-r--r--java/jdk15/files/patch-j2se::pkcs11::Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-j2se::pkcs11::Makefile b/java/jdk15/files/patch-j2se::pkcs11::Makefile
new file mode 100644
index 000000000000..128681445d0c
--- /dev/null
+++ b/java/jdk15/files/patch-j2se::pkcs11::Makefile
@@ -0,0 +1,22 @@
+$FreeBSD$
+
+--- ../../j2se/make/sun/security/pkcs11/Makefile.orig Sun Jan 13 11:11:15 2008
++++ ../../j2se/make/sun/security/pkcs11/Makefile Sun Jan 13 13:12:48 2008
+@@ -47,7 +47,7 @@
+ #
+ # Libraries to link
+ #
+-ifeq ($(PLATFORM), windows)
++ifneq (,$(findstring $(PLATFORM), windows bsd))
+ OTHER_LDLIBS = $(JVMLIB)
+ else
+ OTHER_LDLIBS = -ldl $(JVMLIB)
+@@ -62,7 +62,7 @@
+
+ jar: classes
+ -$(RM) $(PKCS11_JAR)
+- $(JAR) cf $(PKCS11_JAR) -C $(CLASSDESTDIR) sun/security/pkcs11 || exit 1
++ $(CP) $(BUILDDIR)/tools/crypto/pkcs11/sunpkcs11.jar $(PKCS11_JAR) || exit 1
+
+ # testing only
+ KEY_LOCATION = /security/ws/JCE-tiger/src