aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-11-05 18:26:00 +0800
committerfjoe <fjoe@FreeBSD.org>2003-11-05 18:26:00 +0800
commit6f3c154eab0aa81adef08051fd70a797d70cb878 (patch)
tree359eeb524c17eaabefdeb5c02e86cd36a7a5f213
parent756a6c1472eac63c036d451e04f11b737f77b8b5 (diff)
downloadfreebsd-ports-gnome-6f3c154eab0aa81adef08051fd70a797d70cb878.tar.gz
freebsd-ports-gnome-6f3c154eab0aa81adef08051fd70a797d70cb878.tar.zst
freebsd-ports-gnome-6f3c154eab0aa81adef08051fd70a797d70cb878.zip
Make this port use wxgtk 2.4.2.
-rw-r--r--biology/L-Breeder/Makefile4
-rw-r--r--biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp12
-rw-r--r--biology/L-Breeder/files/patch-LBreeder::MyTextFrame.h10
3 files changed, 19 insertions, 7 deletions
diff --git a/biology/L-Breeder/Makefile b/biology/L-Breeder/Makefile
index 59ae0ce71dda..1a2e3151c7b4 100644
--- a/biology/L-Breeder/Makefile
+++ b/biology/L-Breeder/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= dyeske@yahoo.com
COMMENT= Allows you to display and breed L-system forms
-LIB_DEPENDS= wx_gtk-2.2_gl.2:${PORTSDIR}/x11-toolkits/wxgtk
+LIB_DEPENDS= wx_gtk_gl-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk-devel
WRKSRC= ${WRKDIR}/LBreeder/LBreeder
PATCH_WRKSRC= ${WRKDIR}/LBreeder
@@ -58,7 +58,7 @@ post-patch:
s|g\+\+|${CXX} -I${X11BASE}/include|; \
s|-lgdk|`${GDK_PIXBUF_CONFIG} --libs`|; \
s|-lwx_gtk[[:space:]]|`wx-config --libs`|; \
- s|-lwx_gtk_gl|-lwx_gtk-2.2_gl|'
+ s|-lwx_gtk_gl|-lwx_gtk_gl-2.4|'
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/L-Breeder ${PREFIX}/bin
diff --git a/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp
index 85ce96cf789f..508e662975d9 100644
--- a/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp
+++ b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp
@@ -1,7 +1,9 @@
---- LBreeder/MyTextFrame.cpp.orig Mon Jan 21 02:05:11 2002
-+++ LBreeder/MyTextFrame.cpp Mon Jan 21 02:05:26 2002
-@@ -1,3 +1,4 @@
-+#include "wx/button.h"
- #include "wx/filedlg.h"
+--- LBreeder/MyTextFrame.cpp.orig Wed Aug 16 22:08:11 2000
++++ LBreeder/MyTextFrame.cpp Wed Nov 5 01:03:54 2003
+@@ -1,5 +1,5 @@
+-#include "wx/filedlg.h"
#include "MyTextFrame.h"
++#include "wx/filedlg.h"
#include "Ltypes.h" //for debugging messages
+
+ BEGIN_EVENT_TABLE(MyTextFrame, wxDialog)
diff --git a/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.h b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.h
new file mode 100644
index 000000000000..bfa0d423457d
--- /dev/null
+++ b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.h
@@ -0,0 +1,10 @@
+--- LBreeder/MyTextFrame.h.orig Wed Nov 5 01:03:14 2003
++++ LBreeder/MyTextFrame.h Wed Nov 5 01:03:22 2003
+@@ -7,6 +7,7 @@
+ TF_TEXT};
+
+ #include <wx/dialog.h>
++#include <wx/button.h>
+ #include <wx/textctrl.h>
+ #include <wx/layout.h>
+