ports/76170: misc/screen -- Support for NONETHACK

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Jan 12 18:40:32 UTC 2005


>Number:         76170
>Category:       ports
>Synopsis:       misc/screen -- Support for NONETHACK
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 12 18:40:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD pentarou.parodius.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Dec 2 00:43:14 PST 2004 root at pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386
>Description:
	Support the NONETHACK compile-time option (for details see code
	and/or config.h.in).  Removes "nethack-isms" from screen, which
	includes broken logic by looking for ~/.nethackrc before reading
	~/.screenrc to see if "nethack off" is defined.
>How-To-Repeat:
	n/a
>Fix:
	Apply below patch.


diff -ruN screen.orig/Makefile screen/Makefile
--- screen.orig/Makefile	Wed Jul 21 01:01:27 2004
+++ screen/Makefile	Wed Jan 12 10:33:08 2005
@@ -28,6 +28,10 @@
 CFLAGS+=	-O0
 .endif
 
+.if defined(WITHOUT_NETHACK)
+CFLAGS+=	-DNONETHACK
+.endif
+
 post-patch:
 	@${RM} ${WRKSRC}/doc/screen.info*
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list