pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sun-jre6 Fix DESTDIR support when building native...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca531e1e91fa
branches:  trunk
changeset: 555487:ca531e1e91fa
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Mar 03 11:09:03 2009 +0000

description:
Fix DESTDIR support when building native linux

diffstat:

 lang/sun-jre6/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 081dfc9179a0 -r ca531e1e91fa lang/sun-jre6/Makefile
--- a/lang/sun-jre6/Makefile    Tue Mar 03 11:08:40 2009 +0000
+++ b/lang/sun-jre6/Makefile    Tue Mar 03 11:09:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/02/20 14:37:58 abs Exp $
+# $NetBSD: Makefile,v 1.19 2009/03/03 11:09:03 abs Exp $
 
 # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce
 # Note: Update DOWNLOAD_NAME when you update the JRE version
@@ -35,6 +35,7 @@
 .endfor
 
 CHECK_FILES_SKIP+=     ${JAVA_HOME}/lib/${EMUL_ARCH}/client/classes.jsa
+CHECK_SHLIBS_SUPPORTED=        NO
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.sun-jre6
 PKG_SUPPORTED_OPTIONS= sun-jre-jce
@@ -71,7 +72,7 @@
 .PHONY: create-library-symlinks
 post-install: create-library-symlinks
 create-library-symlinks:
-       ${RUN}${LN} -fs ${LIBX11} ${JAVA_HOME}/lib/${EMUL_ARCH}
+       ${RUN}${LN} -fs ${LIBX11} ${DESTDIR}${JAVA_HOME}/lib/${EMUL_ARCH}
 .else
 PLIST_SUBST+=          LIBX11="@comment "
 .endif



Home | Main Index | Thread Index | Old Index