summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2019-11-27 07:55:36 +0000
committermartin <martin@pkgsrc.org>2019-11-27 07:55:36 +0000
commit07b3db472bc405b26c34641cd08a4de642235426 (patch)
treec471176d0d6b91884d5f1377f8d30021a9a4c904 /misc
parent387377923ce222439e296b6fdcfad9af38a2e82b (diff)
downloadpkgsrc-07b3db472bc405b26c34641cd08a4de642235426.tar.gz
If the python3 symlinks already exists in buildlink/bin, do not try
to create it again.
Diffstat (limited to 'misc')
-rw-r--r--misc/libreoffice/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/libreoffice/Makefile b/misc/libreoffice/Makefile
index 6f453f679de..ac6f3ece494 100644
--- a/misc/libreoffice/Makefile
+++ b/misc/libreoffice/Makefile
@@ -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 @@ pre-configure: provide-python3
.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