Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Dec 2002 15:13:52 -0500 (EST)
From:      Brad Laue <brad@brad-x.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        trevor@FreeBSD.org
Subject:   ports/46149: Celestia build fix
Message-ID:  <20021209201352.9559322104A@TMA-1.brad-x.com>

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

>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




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