summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-06-03 17:52:00 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-06-03 17:52:00 +0000
commit4409c583aebc1a1b4a5562e7207eebe0bd93b5b2 (patch)
treef4c5a0457820dee593c62a213974e4745d338b05 /dns
parentFix internal path to the online help. (diff)
- Update to 0.0.5 [1]
- A threaded Perl is required [1]: PR: ports/98455 Submitted by: Martin Wilke <freebsd@unixfreunde.de>
Notes
Notes: svn path=/head/; revision=164314
Diffstat (limited to 'dns')
-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