From owner-freebsd-ports Sat Apr 28 12:10: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 04E1537B42C for ; Sat, 28 Apr 2001 12:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3SJA1X53631; Sat, 28 Apr 2001 12:10:01 -0700 (PDT) (envelope-from gnats) Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 32CBA37B423 for ; Sat, 28 Apr 2001 12:08:14 -0700 (PDT) (envelope-from rhh@nc.rr.com) Received: from stealth.dummynet ([24.25.3.190]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Sat, 28 Apr 2001 15:08:08 -0400 Received: (from rhh@localhost) by stealth.dummynet (8.11.1/8.11.1) id f3SJ9lM07820; Sat, 28 Apr 2001 15:09:47 -0400 (EDT) (envelope-from rhh) Message-Id: <200104281909.f3SJ9lM07820@stealth.dummynet> Date: Sat, 28 Apr 2001 15:09:47 -0400 (EDT) From: aa8vb@nc.rr.com Reply-To: aa8vb@nc.rr.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26925: wxgtk port does not compile OpenGL module Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message