diff options
author | gerald <gerald@FreeBSD.org> | 2018-01-28 19:30:25 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2018-01-28 19:30:25 +0800 |
commit | 07f63248f3b9fc33fd9491f314e95ee752a79643 (patch) | |
tree | 180d94fba084f6d1a0d80645395702ee4ae3e3e6 /misc | |
parent | c826ffa5913cbfc14acca89a17cf2bfbaba6c281 (diff) | |
download | freebsd-ports-gnome-07f63248f3b9fc33fd9491f314e95ee752a79643.tar.gz freebsd-ports-gnome-07f63248f3b9fc33fd9491f314e95ee752a79643.tar.zst freebsd-ports-gnome-07f63248f3b9fc33fd9491f314e95ee752a79643.zip |
Use relative symlinks for terminal descriptions instead of absolute
symlinks.
This is similar to how I fixed the man pages in revision 455914, and
files/patch-term-Makefile is my upstream submission.
Reported by: Ports QA
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnuit/Makefile | 2 | ||||
-rw-r--r-- | misc/gnuit/files/patch-term-Makefile | 113 |
2 files changed, 114 insertions, 1 deletions
diff --git a/misc/gnuit/Makefile b/misc/gnuit/Makefile index d1c8d04deb48..9d89f3fc739e 100644 --- a/misc/gnuit/Makefile +++ b/misc/gnuit/Makefile @@ -3,7 +3,7 @@ PORTNAME= gnuit PORTVERSION= 4.9.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= GNU diff --git a/misc/gnuit/files/patch-term-Makefile b/misc/gnuit/files/patch-term-Makefile new file mode 100644 index 000000000000..bea2ec923f7f --- /dev/null +++ b/misc/gnuit/files/patch-term-Makefile @@ -0,0 +1,113 @@ +2018-01-27 Gerald Pfeifer <gerald@pfeifer.com> + + * term/Makefile.am: Use relative symlinks for terminal + descriptions. + * term/Makefile.in: Regenerate. + +--- UTC +--- term/Makefile.am.orig 2009-02-18 02:31:26.000000000 +0000 ++++ term/Makefile.am 2018-01-27 10:53:28.274055000 +0000 +@@ -27,43 +27,43 @@ + for i in $(GIT_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_COLOR_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_HPTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_GENERICS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_VT100S);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_ANSIS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_LINUXS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + + uninstall-local: +--- term/Makefile.in.orig 2009-02-18 02:31:26.000000000 +0000 ++++ term/Makefile.in 2018-01-27 10:54:00.274727000 +0000 +@@ -773,43 +773,43 @@ + for i in $(GIT_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_COLOR_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_HPTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_GENERICS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_VT100S);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_ANSIS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_LINUXS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + + uninstall-local: |