aboutsummaryrefslogtreecommitdiffstats
path: root/dns/gresolver
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-06-04 01:52:00 +0800
committerjylefort <jylefort@FreeBSD.org>2006-06-04 01:52:00 +0800
commit28b3532b8fcd9843e833b21d40475158e0cee408 (patch)
treea9e7f57c80170b0994094af8444583923debbd48 /dns/gresolver
parent3d68ae1c0902649ae622b29faa204611d0b62aca (diff)
downloadfreebsd-ports-gnome-28b3532b8fcd9843e833b21d40475158e0cee408.tar.gz
freebsd-ports-gnome-28b3532b8fcd9843e833b21d40475158e0cee408.tar.zst
freebsd-ports-gnome-28b3532b8fcd9843e833b21d40475158e0cee408.zip
- Update to 0.0.5 [1]
- A threaded Perl is required [1]: PR: ports/98455 Submitted by: Martin Wilke <freebsd@unixfreunde.de>
Diffstat (limited to 'dns/gresolver')
-rw-r--r--dns/gresolver/Makefile19
-rw-r--r--dns/gresolver/distinfo6
2 files changed, 19 insertions, 6 deletions
diff --git a/dns/gresolver/Makefile b/dns/gresolver/Makefile
index 80d4a647d386..d4ed64988871 100644
--- a/dns/gresolver/Makefile
+++ b/dns/gresolver/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gresolver
-PORTVERSION= 0.0.4
-PORTREVISION= 1
+PORTVERSION= 0.0.5
CATEGORIES= dns
MASTER_SITES= http://jodrell.net/files/gresolver/
@@ -21,6 +20,20 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Lo
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+# The Perl script uses GtkFileChooser widgets, which need libpthread
+# through /usr/X11R6/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so.
+# Unfortunately, on FreeBSD, if an application uses a library which
+# uses libpthread, the application itself must link against
+# libpthread. This is why a threaded Perl is required.
+
+HAVE_THREADS!= ${PERL} -mthreads -e '' >/dev/null 2>&1 && ${ECHO_CMD} 'yes' || true
+
+.if empty(HAVE_THREADS)
+IGNORE= needs a threaded Perl, install lang/perl5.8 with threads support and try again
+.endif
+
do-build:
@${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/gresolver.pl > ${WRKSRC}/gresolver
@@ -33,4 +46,4 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gresolver.glade ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/dns/gresolver/distinfo b/dns/gresolver/distinfo
index 3915d857b8de..568880dee8f8 100644
--- a/dns/gresolver/distinfo
+++ b/dns/gresolver/distinfo
@@ -1,3 +1,3 @@
-MD5 (gresolver-0.0.4.tar.gz) = d7d030320b0fef6a941b740d24428780
-SHA256 (gresolver-0.0.4.tar.gz) = 1accbf79de67f94d2389deedc30aa0fc4cfacc02121d4a410ad60b9faff38f25
-SIZE (gresolver-0.0.4.tar.gz) = 22473
+MD5 (gresolver-0.0.5.tar.gz) = 092adb0206423118357a93ce3f14afb1
+SHA256 (gresolver-0.0.5.tar.gz) = e81708843e53df51329b0f73255511d5a581a09ee9f791bd0b55b1ea67d93117
+SIZE (gresolver-0.0.5.tar.gz) = 26375