Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2020 16:03:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551218 - head/x11/xterm
Message-ID:  <202010021603.092G3Uv1037518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Oct  2 16:03:30 2020
New Revision: 551218
URL: https://svnweb.freebsd.org/changeset/ports/551218

Log:
  Fix hardcoded pixmap directory path
  
  PR:		250036
  Submitted by:	sigsys@gmail.com

Modified:
  head/x11/xterm/Makefile

Modified: head/x11/xterm/Makefile
==============================================================================
--- head/x11/xterm/Makefile	Fri Oct  2 15:02:25 2020	(r551217)
+++ head/x11/xterm/Makefile	Fri Oct  2 16:03:30 2020	(r551218)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xterm
 PORTVERSION=	360
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.invisible-island.net/xterm/:src1 \
 		https://invisible-mirror.net/archives/xterm/:src1 \
@@ -88,6 +89,10 @@ post-extract:
 	@${CP} ${WRKDIR}/bsd-xterm-icons-1/*.png \
 		${WRKDIR}/bsd-xterm-icons-1/*.xpm \
 			${WRKSRC}/icons/
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|/usr\(/share/pixmaps\)|${LOCALBASE}\1|" \
+		${WRKSRC}/misc.c
 
 post-install:
 .for f in koi8rxterm resize uxterm xterm



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