atom feed1 message in org.freebsd.freebsd-portsports/26925: wxgtk port does not comp...
FromSent OnAttachments
aa8...@nc.rr.comApr 28, 2001 12:09 pm 
Subject:ports/26925: wxgtk port does not compile OpenGL module
From:aa8...@nc.rr.com (aa8@nc.rr.com)
Date:Apr 28, 2001 12:09:25 pm
List:org.freebsd.freebsd-ports

Number: 26925 Category: ports Synopsis: wxgtk port does not compile OpenGL module Confidential: no Severity: non-critical Priority: low Responsible: freebsd-ports State: open Quarter: Keywords: Date-Required: Class: change-request Submitter-Id: current-users Arrival-Date: Sat Apr 28 12:10:01 PDT 2001 Closed-Date: Last-Modified: Originator: Randall Hopper Release: FreeBSD 4.2-RELEASE i386 Organization: self Environment:

Stock FreeBSD 4.2-RELEASE.

Description:

A port I'm about to submit requires the wxGTK OpenGL library to be built and installed. The current wxGTK port does not build it.

The attached patch updates the wxGTK port to build and install the OpenGL library.

How-To-Repeat:

ls -l /usr/X11R6/lib/libwx_gtk_gl.so

ls: /usr/X11R6/lib/libwx_gtk_gl.so: No such file or directory

Fix:

--- wxgtk.old/Makefile Fri Mar 30 03:13:56 2001 +++ wxgtk/Makefile Fri Apr 27 19:39:54 2001 @@ -29,8 +29,15 @@ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys -CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +.if defined(WITH_OPENGL) +USE_MESA= yes +CONFIGURE_ARGS+= --with-opengl=yes +ALL_TARGET= all CREATE_LINKS_GL +INSTALL_TARGET= install CREATE_INSTALLED_LINKS_GL +.endif

AUTOCONF= autoconf && \ ${PERL} -pi -e 's|-l\$$THREADS_LIB|${PTHREAD_LIBS}|g ; \ --- wxgtk.old/pkg-plist Fri Jan 19 03:17:23 2001 +++ wxgtk/pkg-plist Fri Apr 27 19:24:43 2001 @@ -322,6 +322,8 @@ include/wx/zstream.h lib/libwx_gtk.so lib/libwx_gtk.so.2 +lib/libwx_gtk_gl.so +lib/libwx_gtk_gl.so.2 lib/wx/include/wx/gtk/setup.h share/locale/cs/LC_MESSAGES/wxstd.mo share/locale/da/LC_MESSAGES/wxstd.mo

Release-Note: Audit-Trail: Unformatted:

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message