svn commit: r551218 - head/x11/xterm

Emanuel Haupt ehaupt at FreeBSD.org
Fri Oct 2 16:03:31 UTC 2020


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 at 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


More information about the svn-ports-head mailing list