1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Update to 0.0.5 [1]

- A threaded Perl is required

[1]:
PR:		ports/98455
Submitted by:	Martin Wilke <freebsd@unixfreunde.de>
This commit is contained in:
Jean-Yves Lefort 2006-06-03 17:52:00 +00:00
parent cec5e78282
commit 4409c583ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164314
2 changed files with 19 additions and 6 deletions

View File

@ -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>

View File

@ -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