From owner-freebsd-ports Mon Dec 9 12:20: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348A237B401 for ; Mon, 9 Dec 2002 12:20:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C3CE43EB2 for ; Mon, 9 Dec 2002 12:20:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB9KK5x3012664 for ; Mon, 9 Dec 2002 12:20:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB9KK5WW012660; Mon, 9 Dec 2002 12:20:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EE1F37B401; Mon, 9 Dec 2002 12:13:35 -0800 (PST) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACFF143E4A; Mon, 9 Dec 2002 12:13:34 -0800 (PST) (envelope-from brad@brad-x.com) Received: by TMA-1.brad-x.com (Postfix, from userid 1000) id 9559322104A; Mon, 9 Dec 2002 15:13:52 -0500 (EST) Message-Id: <20021209201352.9559322104A@TMA-1.brad-x.com> Date: Mon, 9 Dec 2002 15:13:52 -0500 (EST) From: Brad Laue Reply-To: Brad Laue To: FreeBSD-gnats-submit@FreeBSD.org Cc: trevor@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46149: Celestia build fix Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46149 >Category: ports >Synopsis: Celestia build fix >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 09 12:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Brad Laue >Release: FreeBSD 4.6-STABLE i386 >Organization: brad-x.com >Environment: System: FreeBSD TMA-1.brad-x.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 5 16:15:45 EDT 2002 root@TMA-1.brad-x.com:/usr/src/sys/compile/DISCOVERY-IPF i386 >Description: A missing \ in the Makefile prevents this port from building. This is fixed in the attached patch. Additionally, celestia is able to build without gnome support at the expense of a few features; I added a WITHOUT_GNOME option to be able to do this. >How-To-Repeat: Apply patch and make install >Fix: --- /usr/ports/astro/celestia/Makefile Thu Aug 29 23:20:17 2002 +++ Makefile Mon Dec 9 15:13:21 2002 @@ -23,14 +23,20 @@ USE_GMAKE= yes USE_MESA= yes USE_X_PREFIX= yes +.if !defined(WITHOUT_GNOME) USE_GNOMENG= yes USE_GNOME= gnomelibs +.endif CONFIGURE_ARGS= --prefix=${PREFIX} \ --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" +.if defined(WITHOUT_GNOME) +CONFIGURE_ARGS+= --without-gtk +.endif + CONFIGURE_ENV= \ -LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}" +LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}" \ CPPFLAGS="-I${X11BASE}/include -I${X11BASE}/include/GL -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" pre-patch: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message