From owner-freebsd-ports@FreeBSD.ORG Sun Jun 8 12:36:53 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0350437B401 for ; Sun, 8 Jun 2003 12:36:53 -0700 (PDT) Received: from kraanerg.awks.org (oxygene.vnet.net [166.82.190.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD7843FBD for ; Sun, 8 Jun 2003 12:36:51 -0700 (PDT) (envelope-from awk@bnt.com) Received: from kraanerg.awks.org (localhost [127.0.0.1]) by kraanerg.awks.org (8.12.8/8.12.8) with ESMTP id h58JamSH020145 for ; Sun, 8 Jun 2003 15:36:49 -0400 Received: (from awk@localhost) by kraanerg.awks.org (8.12.8/8.12.8/Submit) id h58JaluZ020144 for ports@FreeBSD.org; Sun, 8 Jun 2003 15:36:47 -0400 Date: Sun, 8 Jun 2003 15:36:47 -0400 From: Alexander Kourakos To: ports@FreeBSD.org Message-ID: <20030608193647.GA20096@kraanerg.awks.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline User-Agent: Mutt/1.4i Subject: patch for math/ploticus to honor WITHOUT_X11 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 19:36:53 -0000 --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--