diff options
author | ryoon <ryoon> | 2013-09-07 09:11:52 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2013-09-07 09:11:52 +0000 |
commit | 60b98874cafbaa40f091436c4a438c6f0eabde0b (patch) | |
tree | 43fd4cba112bb4e27e5b38a283bf87cb58074fdd /lang/sun-jdk6/Makefile | |
parent | a18685a5bb710d806c22053e5a02defc781046ae (diff) | |
download | pkgsrc-60b98874cafbaa40f091436c4a438c6f0eabde0b.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-jdk6/Makefile')
-rw-r--r-- | lang/sun-jdk6/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/sun-jdk6/Makefile b/lang/sun-jdk6/Makefile index 4a76f93c8e5..5e3a3b9aa69 100644 --- a/lang/sun-jdk6/Makefile +++ b/lang/sun-jdk6/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.34 2013/04/25 13:32:39 ryoon Exp $ +# $NetBSD: Makefile,v 1.35 2013/09/07 09:11:52 ryoon Exp $ DISTNAME= jdk-6u45-${DIST_OS}-${DIST_ARCH} PKGNAME= sun-jdk6-6.0.45 +PKGREVISION= 1 MASTER_SITES= # empty LICENSE= sun-jdk6-license @@ -27,10 +28,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 \ |