From b080bda97bc303f465d35016d7405c37e42ef394 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 5 Jul 2013 02:42:02 +0000 Subject: Let symbolic link creation to be conditionally, and it should fix installation for other than Linux binary users. --- lang/sun-jre7/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/sun-jre7') diff --git a/lang/sun-jre7/Makefile b/lang/sun-jre7/Makefile index 8ac0ca6ac7f..c99def82d08 100644 --- a/lang/sun-jre7/Makefile +++ b/lang/sun-jre7/Makefile @@ -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 @@ create-library-symlinks: ${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 -- cgit v1.2.3