aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-10-11 22:36:37 +0800
committertobik <tobik@FreeBSD.org>2018-10-11 22:36:37 +0800
commit11a004304af4c2ef0c96a061f0a59f7531ffbebc (patch)
treed97145c5716da3a3b799dd866b6aba1e1c274c54
parentb580c561c739df0564261f6cd306a9791506bd04 (diff)
downloadfreebsd-ports-gnome-11a004304af4c2ef0c96a061f0a59f7531ffbebc.tar.gz
freebsd-ports-gnome-11a004304af4c2ef0c96a061f0a59f7531ffbebc.tar.zst
freebsd-ports-gnome-11a004304af4c2ef0c96a061f0a59f7531ffbebc.zip
graphics/xli: Fix bad absolute symlinks
PR: 224230 Reported by: wosch
-rw-r--r--graphics/xli/Makefile6
-rw-r--r--graphics/xli/files/patch-Imakefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile
index 01d97fc21a87..627749230c3e 100644
--- a/graphics/xli/Makefile
+++ b/graphics/xli/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xli
PORTVERSION= 1.17.0
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES= graphics
MASTER_SITES= DEBIAN
DISTNAME= xli_${PORTVERSION}+${XLI_SNAPVER:C/-//g}.orig
@@ -26,9 +26,9 @@ PLIST_FILES= bin/xli bin/xlito bin/xview bin/xsetbg \
XLI_SNAPVER= 2006-11-10
post-install:
- ${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \
+ ${RLN} ${STAGEDIR}${MANPREFIX}/man/man1/xli.1.gz \
${STAGEDIR}${MANPREFIX}/man/man1/xview.1.gz
- ${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \
+ ${RLN} ${STAGEDIR}${MANPREFIX}/man/man1/xli.1.gz \
${STAGEDIR}${MANPREFIX}/man/man1/xsetbg.1.gz
.include <bsd.port.mk>
diff --git a/graphics/xli/files/patch-Imakefile b/graphics/xli/files/patch-Imakefile
index ac574c69e7a8..9a6b405c155c 100644
--- a/graphics/xli/files/patch-Imakefile
+++ b/graphics/xli/files/patch-Imakefile
@@ -29,8 +29,8 @@
- $(RM) $(BINDIR)/xview $(BINDIR)/xsetbg
- $(LN) $(BINDIR)/xli $(BINDIR)/xview
- $(LN) $(BINDIR)/xli $(BINDIR)/xsetbg
-+ $(LN) $(BINDIR)/xli $(DESTDIR)$(BINDIR)/xview
-+ $(LN) $(BINDIR)/xli $(DESTDIR)$(BINDIR)/xsetbg
++ $(LN) xli $(DESTDIR)$(BINDIR)/xview
++ $(LN) xli $(DESTDIR)$(BINDIR)/xsetbg
$(SYSPATHFILE):
@echo "*** Creating default $(SYSPATHFILE) since you"