diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-12-22 18:05:35 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-12-22 18:05:35 +0000 |
commit | 09b251be4f5480eb32d5d2b2502623c648716039 (patch) | |
tree | d9727a00efbb93295b865e4c01c994eadc718c7c /x11-toolkits | |
parent | 36aea8a3af8918dba27352b2d5cc76b25803cb41 (diff) | |
download | ports-09b251be4f5480eb32d5d2b2502623c648716039.tar.gz ports-09b251be4f5480eb32d5d2b2502623c648716039.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtkglarea--/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-events.cc | 10 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-examples::extra::events.cc | 19 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-examples::extra::glpixmap.cc (renamed from x11-toolkits/gtkglarea--/files/patch-glpixmap.cc) | 0 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-examples::pickmm::pick.cc | 20 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-examples::planetmm::planet.cc | 20 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-gtkgl--::gdkgl.cc (renamed from x11-toolkits/gtkglarea--/files/patch-gdkgl.cc) | 0 |
7 files changed, 66 insertions, 12 deletions
diff --git a/x11-toolkits/gtkglarea--/Makefile b/x11-toolkits/gtkglarea--/Makefile index f1cdc96389f6..e5f84039c5f4 100644 --- a/x11-toolkits/gtkglarea--/Makefile +++ b/x11-toolkits/gtkglarea--/Makefile @@ -13,15 +13,20 @@ MASTER_SITES= http://www.ece.ucdavis.edu/~kenelson/gtk-glarea/dist/ MAINTAINER= ports@FreeBSD.org +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \ gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea +USE_MESA= yes USE_GNOMENG= yes USE_GNOME= gtk12 -USE_MESA= yes USE_LIBTOOL= yes -CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-lib-GL INSTALLS_SHLIB= yes +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lGLU -lglut \ + ${PTHREAD_LIBS} + .include <bsd.port.mk> diff --git a/x11-toolkits/gtkglarea--/files/patch-events.cc b/x11-toolkits/gtkglarea--/files/patch-events.cc deleted file mode 100644 index c39ff0f997e4..000000000000 --- a/x11-toolkits/gtkglarea--/files/patch-events.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- examples/extra/events.cc.orig Wed Aug 28 14:04:59 2002 -+++ examples/extra/events.cc Wed Aug 28 14:05:23 2002 -@@ -28,6 +28,7 @@ - #include <GL/gl.h> - #include <GL/glu.h> - -+using namespace std; - - void gl() { - static int displaylist=-1; diff --git a/x11-toolkits/gtkglarea--/files/patch-examples::extra::events.cc b/x11-toolkits/gtkglarea--/files/patch-examples::extra::events.cc new file mode 100644 index 000000000000..fd820bc89e9c --- /dev/null +++ b/x11-toolkits/gtkglarea--/files/patch-examples::extra::events.cc @@ -0,0 +1,19 @@ +--- examples/extra/events.cc.orig Thu Jan 27 09:15:24 2000 ++++ examples/extra/events.cc Fri Dec 20 09:45:21 2002 +@@ -18,7 +18,7 @@ + *********************************************************************/ + + #include <string> +-#include <iostream.h> ++#include <iostream> + #include <GL/glx.h> + #include <glib.h> + #include <gdk/gdk.h> +@@ -28,6 +28,7 @@ + #include <GL/gl.h> + #include <GL/glu.h> + ++using namespace std; + + void gl() { + static int displaylist=-1; diff --git a/x11-toolkits/gtkglarea--/files/patch-glpixmap.cc b/x11-toolkits/gtkglarea--/files/patch-examples::extra::glpixmap.cc index bbbfe8ef7d25..bbbfe8ef7d25 100644 --- a/x11-toolkits/gtkglarea--/files/patch-glpixmap.cc +++ b/x11-toolkits/gtkglarea--/files/patch-examples::extra::glpixmap.cc diff --git a/x11-toolkits/gtkglarea--/files/patch-examples::pickmm::pick.cc b/x11-toolkits/gtkglarea--/files/patch-examples::pickmm::pick.cc new file mode 100644 index 000000000000..12e95e02124c --- /dev/null +++ b/x11-toolkits/gtkglarea--/files/patch-examples::pickmm::pick.cc @@ -0,0 +1,20 @@ +--- examples/pickmm/pick.cc.orig Thu Jan 27 09:15:24 2000 ++++ examples/pickmm/pick.cc Fri Dec 20 09:42:57 2002 +@@ -16,7 +16,7 @@ + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + *********************************************************************/ +-#include <iostream.h> ++#include <iostream> + + #include <GL/gl.h> + #include <GL/glu.h> +@@ -28,6 +28,8 @@ + #include <gtk--.h> + + #include <gtkgl--/glarea.h> ++ ++using namespace std; + + // WARNING: Verbosity level set to maximum, prepare to get an ear full + diff --git a/x11-toolkits/gtkglarea--/files/patch-examples::planetmm::planet.cc b/x11-toolkits/gtkglarea--/files/patch-examples::planetmm::planet.cc new file mode 100644 index 000000000000..6e0e422f8635 --- /dev/null +++ b/x11-toolkits/gtkglarea--/files/patch-examples::planetmm::planet.cc @@ -0,0 +1,20 @@ +--- examples/planetmm/planet.cc.orig Thu Jan 27 09:15:25 2000 ++++ examples/planetmm/planet.cc Fri Dec 20 09:43:57 2002 +@@ -16,7 +16,7 @@ + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + *********************************************************************/ +-#include <iostream.h> ++#include <iostream> + #include <GL/glx.h> + #include <glib.h> + #include <gdk/gdk.h> +@@ -27,6 +27,8 @@ + #include <GL/gl.h> + #include <math.h> + #include "globeGL.hh" ++ ++using namespace std; + + // WARNING: Verbosity level set to maximum, prepare to get an ear full + diff --git a/x11-toolkits/gtkglarea--/files/patch-gdkgl.cc b/x11-toolkits/gtkglarea--/files/patch-gtkgl--::gdkgl.cc index 1c94fa26ab04..1c94fa26ab04 100644 --- a/x11-toolkits/gtkglarea--/files/patch-gdkgl.cc +++ b/x11-toolkits/gtkglarea--/files/patch-gtkgl--::gdkgl.cc |