From owner-freebsd-questions Mon Aug 12 13:51:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68E5237B400 for ; Mon, 12 Aug 2002 13:51:47 -0700 (PDT) Received: from cypress.adhesivemedia.com (cypress.adhesivemedia.com [207.202.159.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id C582E43E6A for ; Mon, 12 Aug 2002 13:51:46 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from cypress.adhesivemedia.com (localhost [127.0.0.1]) by cypress.adhesivemedia.com (8.12.3/8.12.3) with ESMTP id g7CKpk1b062751; Mon, 12 Aug 2002 13:51:46 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by cypress.adhesivemedia.com (8.12.3/8.12.3/Submit) with ESMTP id g7CKpkIp062748; Mon, 12 Aug 2002 13:51:46 -0700 (PDT) X-Authentication-Warning: cypress.adhesivemedia.com: philip owned process doing -bs Date: Mon, 12 Aug 2002 13:51:46 -0700 (PDT) From: Philip Hallstrom To: Scott Gerhardt Cc: FreeBSD Subject: Re: GD2 with PHP In-Reply-To: Message-ID: <20020812135032.M53124-100000@cypress.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yeah, I guess that isn't very clear.. but if you read it it's telling you that if you define "WITHOUT_XPM" then it won't try and compile GD with XPM support. And xpm requires X... So if you tell it you don't want XPM support then you can build gd2 without needing any X stuff. -philip On Mon, 12 Aug 2002, Scott Gerhardt wrote: > On 8/12/02 2:39 PM, "Philip Hallstrom" wrote: > > > set the environment variable WITHOUT_XPM to 1 and then install the GD2 > > port. Take a look at /usr/ports/graphics/g2/Makefile for more info. > > > > I don't quite understand what you mean. See excerpt from > /usr/ports/graphics/gd2/Makefile below: > > .ifndef WITHOUT_XPM > # Temporary hack, until X-less XPM building is added to USE_XPM: > .ifndef WITHOUT_X11 > USE_XPM= yes > .else > LIB_DEPENDS+= Xpm:${PORTSDIR}/graphics/xpm > .endif > .else > MAKE_ARGS+= -DWITHOUT_XPM > .endif > > > > -- > Scott Gerhardt, P.Geo. > Gerhardt Information Technologies [G-IT] > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message