diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-09-07 09:11:52 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-09-07 09:11:52 +0000 |
commit | 33e23e0ac78aeb4d1151e14fc814268622de3120 (patch) | |
tree | 43fd4cba112bb4e27e5b38a283bf87cb58074fdd /lang/sun-jdk7/Makefile | |
parent | f4a7ca33781fb5ea3eaf780d43b4bb3a49bc3c0d (diff) | |
download | pkgsrc-33e23e0ac78aeb4d1151e14fc814268622de3120.tar.gz |
Bump PKGREVISION.
* Attempt to fix the missing JDK native libraries to make jmap work.
Based on patches from dsainty@.
Tested on NetBSD/i386 and amd64.
Diffstat (limited to 'lang/sun-jdk7/Makefile')
-rw-r--r-- | lang/sun-jdk7/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/sun-jdk7/Makefile b/lang/sun-jdk7/Makefile index ac4df7b674e..e280a748839 100644 --- a/lang/sun-jdk7/Makefile +++ b/lang/sun-jdk7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2013/07/04 12:25:31 obache Exp $ +# $NetBSD: Makefile,v 1.12 2013/09/07 09:11:53 ryoon Exp $ # Note: This must be kept in sync with the sun-jre7 package # Note: make sure you include sums for both the x86_64 and the x86_32 @@ -6,6 +6,7 @@ DISTNAME= jdk-7u25-${DIST_OS}-${DIST_ARCH} PKGNAME= sun-jdk7-7.0.25 +PKGREVISION= 1 MASTER_SITES= # empty LICENSE= oracle-binary-code-license @@ -33,10 +34,14 @@ DISTFILES= ${DEFAULT_DISTFILES} ${DEFAULT_DISTFILES:S/x64/i586/} .endif PLIST_SRC= PLIST.${DIST_OS}-${EMUL_ARCH} +PLIST_SUBST+= JAVA_ARCH="${JAVA_ARCH}" # Remove parts that are in common with the JRE # post-extract: + ${MKDIR} ${WRKSRC}/lib/${JAVA_ARCH} + ${MV} ${WRKSRC}/jre/lib/${JAVA_ARCH}/libattach.so ${WRKSRC}/lib/${JAVA_ARCH} + ${MV} ${WRKSRC}/jre/lib/${JAVA_ARCH}/libsaproc.so ${WRKSRC}/lib/${JAVA_ARCH} common=`${AWK} '/^#.*/ { next } /^$$/ { next } { print }' ${FILESDIR}/common`; \ cd ${WRKSRC}; for i in $$common; do \ if [ -d $$i ]; then \ |