diff options
author | obache <obache@pkgsrc.org> | 2013-07-05 02:42:02 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-07-05 02:42:02 +0000 |
commit | b080bda97bc303f465d35016d7405c37e42ef394 (patch) | |
tree | 76c9dda39a978fec6233d531909b33804fd3049b | |
parent | f94ee5a8e74e79bbd3bf7949bd3899c933210c81 (diff) | |
download | pkgsrc-b080bda97bc303f465d35016d7405c37e42ef394.tar.gz |
Let symbolic link creation to be conditionally, and it should fix installation
for other than Linux binary users.
-rw-r--r-- | lang/sun-jre7/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 |