svn commit: r547498 - head/editors/textadept/files
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Sep 4 02:06:27 UTC 2020
Author: danfe
Date: Fri Sep 4 02:06:26 2020
New Revision: 547498
URL: https://svnweb.freebsd.org/changeset/ports/547498
Log:
- Remove the checks for prior existence of $(XDG_DATA_DIR) and
$(PIXMAPS_DIR): they do not serve any useful purpose and could
break the build if those directories are missing for some reason
- When disabling wget(1), also change its name to make it obvious
to the readers of the build log that is is not being executed
Reported by: linimon
Modified:
head/editors/textadept/files/patch-src_Makefile
Modified: head/editors/textadept/files/patch-src_Makefile
==============================================================================
--- head/editors/textadept/files/patch-src_Makefile Fri Sep 4 02:00:09 2020 (r547497)
+++ head/editors/textadept/files/patch-src_Makefile Fri Sep 4 02:06:26 2020 (r547498)
@@ -48,7 +48,7 @@
version = $(shell grep -m 1 _RELEASE ../core/init.lua | cut -d ' ' -f4- | \
tr ' ' '_' | tr -d "'")
-WGET = wget -O $@
-+WGET = : wget -O $@
++WGET = : wget-is-forbidden-during-build -O $@
# Scintilla.
@@ -63,12 +63,14 @@
install $^ $(DESTDIR)$(data_dir)
cp -rL $| $(DESTDIR)$(data_dir)
- ln -s $(subst .., $(data_dir), $^) $(DESTDIR)$(bin_dir)
+- if [ -d "$(XDG_DATA_DIR)" ]; then \
+ ln -s $(subst ..,..$(subst $(PREFIX),,$(data_dir)),$^) $(DESTDIR)$(bin_dir)
- if [ -d "$(XDG_DATA_DIR)" ]; then \
++ if : ; then \
install -d $(DESTDIR)$(XDG_DATA_DIR); \
install $(desktop_files) $(DESTDIR)$(XDG_DATA_DIR); \
fi
- if [ -d "$(PIXMAPS_DIR)" ]; then \
+- if [ -d "$(PIXMAPS_DIR)" ]; then \
++ if : ; then \
install -d $(DESTDIR)$(PIXMAPS_DIR); \
- ln -s $(data_dir)/core/images/textadept.svg $(DESTDIR)$(PIXMAPS_DIR); \
- ln -s $(data_dir)/core/images/ta_48x48.png \
More information about the svn-ports-all
mailing list