Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2018 14:36:37 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481832 - in head/graphics/xli: . files
Message-ID:  <201810111436.w9BEabqF022181@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Oct 11 14:36:37 2018
New Revision: 481832
URL: https://svnweb.freebsd.org/changeset/ports/481832

Log:
  graphics/xli: Fix bad absolute symlinks
  
  PR:		224230
  Reported by:	wosch

Modified:
  head/graphics/xli/Makefile
  head/graphics/xli/files/patch-Imakefile

Modified: head/graphics/xli/Makefile
==============================================================================
--- head/graphics/xli/Makefile	Thu Oct 11 14:33:19 2018	(r481831)
+++ head/graphics/xli/Makefile	Thu Oct 11 14:36:37 2018	(r481832)
@@ -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>

Modified: head/graphics/xli/files/patch-Imakefile
==============================================================================
--- head/graphics/xli/files/patch-Imakefile	Thu Oct 11 14:33:19 2018	(r481831)
+++ head/graphics/xli/files/patch-Imakefile	Thu Oct 11 14:36:37 2018	(r481832)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810111436.w9BEabqF022181>