ports/115888:[patch] optionify sysutils/screen
Cy Schubert
Cy.Schubert at komquats.com
Wed Oct 10 22:46:04 PDT 2007
The submitted patch was incomplete. Here is a more complete patch.
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/screen/Makefile,v
retrieving revision 1.66
diff -u -r1.66 Makefile
--- Makefile 23 Sep 2007 11:32:37 -0000 1.66
+++ Makefile 11 Oct 2007 04:41:54 -0000
@@ -17,19 +17,25 @@
MAINTAINER= cy at FreeBSD.org
COMMENT= A multi-screen window manager
+OPTIONS= XTERM_256 "Enable support for 256 colour xterm" OFF \
+ NETHACK "Enable NetHack support" ON \
+ CJK "Treat CJK ambiguous characters as full width" OFF \
+ MAN "Build and install man pages" ON \
+ INFO "Build and install info documentation" ON
+
GNU_CONFIGURE= yes
-.if defined(NO_MAN)
-MAKE_ARGS+= -DNO_MAN
-.else
+.if defined(WITH_MAN)
MAN1= screen.1
-.endif
-.if defined(NO_INFO)
-MAKE_ARGS+= -DNO_INFO
.else
+MAKE_ARGS+= -DNO_MAN
+.endif
+.if defined(WITH_INFO)
.if !exists(/usr/bin/install-info)
RUN_DEPENDS+= install-info:${PORTSDIR}/print/texinfo
.endif
INFO= screen
+.else
+MAKE_ARGS+= -DNO_INFO
.endif
NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps
it hard-codes information about the build host
@@ -48,7 +54,7 @@
CFLAGS+= -DCOLORS256
.endif
-.if defined(WITHOUT_NETHACK)
+.if !defined(WITH_NETHACK)
CFLAGS+= -DNONETHACK
.endif
--
Cheers,
Cy Schubert <Cy.Schubert at komquats.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: http://www.FreeBSD.org
e**(i*pi)+1=0
More information about the freebsd-ports
mailing list