Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2003 15:36:47 -0400
From:      Alexander Kourakos <awk@bnt.com>
To:        ports@FreeBSD.org
Subject:   patch for math/ploticus to honor WITHOUT_X11
Message-ID:  <20030608193647.GA20096@kraanerg.awks.org>

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

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello I have WITHOUT_X11=yes in my make.conf but math/ploticus was still
trying to build with X11, here's a patch to fix that. Thanks.

awk

-- 
Alexander Kourakos
System Administration
Biz Net Technologies

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diffs"

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

--MGYHOYXEY6WxJCY8--



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