pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sun-jre7 Let symbolic link creation to be conditi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/042b2408e35e
branches:  trunk
changeset: 621139:042b2408e35e
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Jul 05 02:42:02 2013 +0000

description:
Let symbolic link creation to be conditionally, and it should fix installation
for other than Linux binary users.

diffstat:

 lang/sun-jre7/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e314db9d1cdb -r 042b2408e35e lang/sun-jre7/Makefile
--- a/lang/sun-jre7/Makefile    Fri Jul 05 00:19:56 2013 +0000
+++ b/lang/sun-jre7/Makefile    Fri Jul 05 02:42:02 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/07/04 12:25:31 obache Exp $
+# $NetBSD: Makefile,v 1.16 2013/07/05 02:42:02 obache Exp $
 
 # Note: Regen distinfo with PKG_OPTIONS.sun-jre7+=sun-jre-jce
 # Note: Update DOWNLOAD_NAME when you update the JRE version
@@ -102,9 +102,11 @@
        ${RUN}${LN} -fs ${X11_LIBDIR}/libXi.so.6 ${DESTDIR}${ARCH_LIBDIR}
        ${RUN}${LN} -fs ${X11_LIBDIR}/libXt.so.6 ${DESTDIR}${ARCH_LIBDIR}
        ${RUN}${LN} -fs ${X11_LIBDIR}/libXtst.so.6 ${DESTDIR}${ARCH_LIBDIR}
+.  if ${EMUL_OPSYS} == "linux"
        ${RUN}${LN} -fs ${ALSA_LIBDIR}/libasound.so.2 ${DESTDIR}${ARCH_LIBDIR}
        ${RUN}${LN} -fs ${ODBC_LIBDIR}/libodbc.so ${DESTDIR}${ARCH_LIBDIR}
        ${RUN}${LN} -fs ${ODBC_LIBDIR}/libodbcinst.so ${DESTDIR}${ARCH_LIBDIR}
+.  endif
 
 PLIST.native=  yes
 .endif



Home | Main Index | Thread Index | Old Index