pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libreoffice If the python3 symlinks already exist...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8576f389b44
branches:  trunk
changeset: 405384:f8576f389b44
user:      martin <martin%pkgsrc.org@localhost>
date:      Wed Nov 27 07:55:36 2019 +0000

description:
If the python3 symlinks already exists in buildlink/bin, do not try
to create it again.

diffstat:

 misc/libreoffice/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d35d43f9796b -r f8576f389b44 misc/libreoffice/Makefile
--- a/misc/libreoffice/Makefile Wed Nov 27 04:00:33 2019 +0000
+++ b/misc/libreoffice/Makefile Wed Nov 27 07:55:36 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.213 2019/11/15 13:26:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.214 2019/11/27 07:55:36 martin Exp $
 
 VERREL=                6.3.3
 VERRC=         2
@@ -280,7 +280,7 @@
 .PHONY: provide-python3
 provide-python3:
        # install phase uses python3 command
-       ${LN} -s ${PYTHONBIN} "${BUILDLINK_DIR}/bin/python3"
+       [ -h "${BUILDLINK_DIR}/bin/python3" ] || ${LN} -s ${PYTHONBIN} "${BUILDLINK_DIR}/bin/python3"
 
 do-install:
        cd ${WRKSRC} && make DESTDIR="${DESTDIR}" PREFIXDIR="${PREFIX}" distro-pack-install



Home | Main Index | Thread Index | Old Index