summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-26 15:56:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-26 15:56:25 +0000
commit66d100bd161bb2ce0b220efcee2b9d3080a134d3 (patch)
tree580eab6302cb6069ea53659c5e9975391af12173 /x11-toolkits/wxgtk
parentAdd vim6+ruby, Vi IMproved version 6 with embedded Ruby interpreter. (diff)
Update to 1.2.2.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=33148
Diffstat (limited to 'x11-toolkits/wxgtk')
-rw-r--r--x11-toolkits/wxgtk/Makefile19
-rw-r--r--x11-toolkits/wxgtk/distinfo2
2 files changed, 17 insertions, 4 deletions
diff --git a/x11-toolkits/wxgtk/Makefile b/x11-toolkits/wxgtk/Makefile
index 33703da99e23..392619d943b5 100644
--- a/x11-toolkits/wxgtk/Makefile
+++ b/x11-toolkits/wxgtk/Makefile
@@ -6,14 +6,17 @@
#
PORTNAME= wxgtk
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ png.4:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/wxGTK
@@ -23,7 +26,17 @@ USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GMAKE= yes
USE_AUTOCONF= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ARGS= --with-libpng=sys \
+ --with-libjpeg=sys \
+ --with-libtiff=sys \
+ --with-zlib=sys
+CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-D_THREAD_SAFE -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
+AUTOCONF= autoconf && \
+ ${PERL} -pi -e 's|-l\$$THREADS_LIB|-pthread|g ; \
+ s|-l\$$THREADS_LINK|-pthread|g' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/x11-toolkits/wxgtk/distinfo b/x11-toolkits/wxgtk/distinfo
index d217ee28748c..305ac045aaaf 100644
--- a/x11-toolkits/wxgtk/distinfo
+++ b/x11-toolkits/wxgtk/distinfo
@@ -1 +1 @@
-MD5 (wxGTK-2.2.1.tar.gz) = b5d92f8e103477b906176e0451086f07
+MD5 (wxGTK-2.2.2.tar.gz) = 7284e890e08079beca4cb4cd128a067c