aboutsummaryrefslogtreecommitdiff
path: root/databases/pgadmin3-12
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-05-12 17:45:30 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-05-12 17:45:30 +0000
commit54c086c129c88d664ff3008d1336164547b80e66 (patch)
treecd5089fa2b5950af1a9f7fac449022ee5be052d2 /databases/pgadmin3-12
parent4127db8881b063278c60e869405dc73a653ee59b (diff)
downloadports-54c086c129c88d664ff3008d1336164547b80e66.tar.gz
ports-54c086c129c88d664ff3008d1336164547b80e66.zip
Notes
Diffstat (limited to 'databases/pgadmin3-12')
-rw-r--r--databases/pgadmin3-12/Makefile8
-rw-r--r--databases/pgadmin3-12/files/patch-configure26
2 files changed, 22 insertions, 12 deletions
diff --git a/databases/pgadmin3-12/Makefile b/databases/pgadmin3-12/Makefile
index b686a27ac685..5c28ed60ae70 100644
--- a/databases/pgadmin3-12/Makefile
+++ b/databases/pgadmin3-12/Makefile
@@ -34,16 +34,16 @@ pre-everything::
.endif
.if !defined(WITHOUT_UNICODE)
-LIB_DEPENDS+= wx_gtk2u_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
-CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.5-config
+LIB_DEPENDS+= wx_gtk2u_stc-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-unicode-contrib
+CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.6-config
PKGNAMESUFFIX= -unicode
PKGMESSAGE= ${PKGDIR}/pkg-message-unicode
post-install:
@${CAT} ${PKGMESSAGE}
.else
-LIB_DEPENDS+= wx_gtk2_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
-CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.5-config
+LIB_DEPENDS+= wx_gtk2_stc-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-contrib
+CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.6-config
.endif # WITHOUT_UNICODE
.include <bsd.port.post.mk>
diff --git a/databases/pgadmin3-12/files/patch-configure b/databases/pgadmin3-12/files/patch-configure
index ecf91d0e2b9d..18af8abfe59d 100644
--- a/databases/pgadmin3-12/files/patch-configure
+++ b/databases/pgadmin3-12/files/patch-configure
@@ -1,13 +1,23 @@
--- configure.orig Tue Nov 30 02:09:55 2004
-+++ configure Wed Jan 5 19:00:36 2005
-@@ -5175,6 +5175,10 @@
- LIBS="$LIBS -lwx_gtk2u_stc-${WX_VERSION}"
- LIBS="$LIBS $WX_NEW_LDFLAGS"
++++ configure Fri May 6 00:59:54 2005
+@@ -4996,6 +4996,9 @@
+ # Which version of wxWindows is this?
+ WX_VERSION=`${WX_CONFIG} --version`
+ case "${WX_VERSION}" in
++ 2.6*)
++ WX_VERSION="2.6"
++ ;;
+ 2.5*)
+ WX_VERSION="2.5"
+ ;;
+@@ -5173,6 +5176,10 @@
;;
-+ *wx_gtk2_core*)
-+ LIBS="$LIBS -lwx_gtk2_stc-${WX_VERSION}"
+ *wx_gtk2u_core*)
+ LIBS="$LIBS -lwx_gtk2u_stc-${WX_VERSION}"
+ LIBS="$LIBS $WX_NEW_LDFLAGS"
+ ;;
- *wx_gtkud-*)
- LIBS="$LIBS -lwx_gtkud_stc-${WX_VERSION}"
++ *wx_gtk2_core*)
++ LIBS="$LIBS -lwx_gtk2_stc-${WX_VERSION}"
LIBS="$LIBS $WX_NEW_LDFLAGS"
+ ;;
+ *wx_gtkud-*)