summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-03-03 11:09:03 +0000
committerabs <abs@pkgsrc.org>2009-03-03 11:09:03 +0000
commitfc59526304a4458203f6c0b2a366d57c62458d82 (patch)
tree439074a7244be670e4bc9787c5a0421d45cab408 /lang
parent8f704708045640e19f83a71b75cf942000c6feab (diff)
downloadpkgsrc-fc59526304a4458203f6c0b2a366d57c62458d82.tar.gz
Fix DESTDIR support when building native linux
Diffstat (limited to 'lang')
-rw-r--r--lang/sun-jre6/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/sun-jre6/Makefile b/lang/sun-jre6/Makefile
index 97f4ee05454..58c5c6e5927 100644
--- a/lang/sun-jre6/Makefile
+++ b/lang/sun-jre6/Makefile
@@ -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 @@ CONF_FILES+= ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE}
.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 @@ PLIST_SUBST+= LIBX11=
.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