Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 23:46:13 -0400 (EDT)
From:      awk <awk@bronte.bnt.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53266: ploticus should not require X11 (patch included)
Message-ID:  <200306130346.h5D3kDph057250@bronte.bnt.com>
Resent-Message-ID: <200306130350.h5D3oJd9098698@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53266
>Category:       ports
>Synopsis:       ploticus should not require X11 (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 20:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     awk
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Biz Net Technologies
>Environment:
System: FreeBSD bronte.bnt.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed May 14 21:29:11 EDT 2003 awk@bronte.bnt.com:/usr/obj/usr/src/sys/BIZNET i386

	
>Description:
	Despite the WITHOUT_X11 setting, building ploticus requires X11.
>How-To-Repeat:
	
>Fix:

	Patch below is what I used. (PS: I emailed this patch to
ports@freebsd.org because I'd forgotten about send-pr so apologies if this
gets seen twice).

--- Makefile.diffs begins here ---
--- Makefile.orig	Mon Jun  2 18:05:00 2003
+++ Makefile	Sun Jun  8 15:30:34 2003
@@ -22,7 +22,13 @@
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 
-USE_XLIB=	yes
+.ifdef WITHOUT_X11
+MAKE_ARGS+=	NOXFLAG=-DNOX11 XLIBS= XOBJ=
+PKGNAMESUFFIX=	-nox11
+.else
+USE_XLIB=       yes
+.endif
+
 ALL_TARGET=	${PORTNAME}
 
 MAN1=	pl.1
--- Makefile.diffs ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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