summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-26 15:56:25 +0000
committersobomax <sobomax@FreeBSD.org>2000-09-26 15:56:25 +0000
commitca4d1c8ae2832a42b564d7b5160eae79c8e97cad (patch)
tree2169784f57c3484b611514ebae26d61ac575b597 /x11-toolkits/wxgtk
parentf3898ad2f6a47374532260b94b88a10197692d82 (diff)
downloadFreeBSD-ports-ca4d1c8ae2832a42b564d7b5160eae79c8e97cad.zip
FreeBSD-ports-ca4d1c8ae2832a42b564d7b5160eae79c8e97cad.tar.gz
Update to 1.2.2.
Approved by: maintainer
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 33703da..392619d 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 d217ee2..305ac04 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
OpenPOWER on IntegriCloud